Core java - Interview Questions and Answers for 'Hsbc holdings' | Search Interview Question -

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Core java - Interview Questions and Answers for 'Hsbc holdings' - 3 question(s) found - Order By Newest

Frequently asked at Manhattan Associates ( Based on 2 feedback )
  Q1. What is a Lambda Expression ? What's its use ?Core Java
Ans. Its an anonymous method without any declaration.

Lambda Expression are useful to write shorthand Code and hence saves the effort of writing lengthy Code.

It promotes Developer productivity, Better Readable and Reliable code.

  Sample Code for lambda

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   java8   lambda expression   architecture     Asked in 58 Companies      expert        frequent

Try 1 Question(s) Test

Related Questions

  Difference between final and effectively final ? Why is effectively final even required ?
  Difference between Predicate, Supplier and Consumer ?
 What are the problems one could face while working with serverless technologies like AWS Lambda ?
 How does AWS Lambda handle failure during event processing?
 Can you explain the integration between API Gateway and Lambda if we wish to develop services using these tools.
 What would you do if you see an error thrown by a lambda function as "Access Denied" while doing something with S3 ?
 What are the advantages and disadvantages of using Lambda over EC2 ?
 What are the different trigger types in AWS Lambda ?
  What does the following lambda expression means ?

  Q2. Explain OOPs


Explain OOPs Principles


Explain OOPs Concepts


Explain OOPs features


Tell me something about OOPs
Core Java2017-06-13 08:25:45

Ans. OOPs or Object Oriented Programming is a Programming model which is organized around Objects instead of processes. Instead of a process calling series of processes, this model stresses on communication between objects. Objects that all self sustained, provide security by encapsulating it's members and providing abstracted interfaces over the functions it performs. OOP's facilitate the following features

1. Inheritance for Code Reuse
2. Abstraction for modularity, maintenance and agility
3. Encapsulation for security and protection
4. Polymorphism for flexibility and interfacing

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     oops  oops features     Asked in 258 Companies      basic        frequent

Related Questions

 Can you give a real world example of Encapsulation and Abstraction ?
 Which of the following Java feature promotes access protection or Hiding ?

a. Inheritance
b. Encapsulation
c. Abstraction
d. Composition
 Define encapsulation in Java ?
 Give an example of how Object Oriented Programming Concepts can be implemented.
 Which of the OOP's features facilitate dependency injection ?
 Which of the OOP's feature - encapsulation or abstraction - is more important ?
 Which of the polymorphism type - static or runtime - is more important ?
 Which of the OOP's feature is most important ?

 Q3. What is a ConcurrentHashMap ?Core Java
Ans. ConcurrentHashMap is a hashMap that allows concurrent modifications from multiple threads as there can be multiple locks on the same hashmap.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   collections   hashmap   map   concurrenthashmap   concurrenthashmap  concurrency   general electric   ge     Asked in 32 Companies        rare

Related Questions

  What is ConcurrentModificationException ?
  What is ConcurrentLinkedDeque ?
  What is CopyOnWriteArrayList ?
  What are the advantages and disadvantages of CopyOnWriteArrayList ?
  Name few Concurrent Collection Classes ?
  What is a BlockingQueue?
 Difference between concurrentHashMap and HashTable ?
 isnt the use of HashTable and ConcurrentHashMap the same, i.e providing synchronized map collection ?
 What is the use of java.util.concurrent package in Java ?

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: