Core java - Interview Questions and Answers for 'Collabera' - 4 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) TestBasic and Very Frequently asked. Ans. Polymorphism means the condition of occurring in several different forms.
Polymorphism in Java is achieved in two manners
1. Static polymorphism is the polymorphic resolution identified at compile time and is achieved through function overloading whereas
2. Dynamic polymorphism is the polymorphic resolution identified at runtime and is achieved through method overriding. Sample Code for overloading Sample Code for overriding Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  polymorphism  object oriented programming (oops)  oops concepts  oops concepts Asked in 108 Companies Basic   frequent Try 2 Question(s) Test Q3. What is the use of HashCode in objects ? Core Java
Ans. Hashcode is used for bucketing in Hash implementations like HashMap, HashTable, HashSet etc. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  java   string   hashcode   hash code   string comparison  hashtable Asked in 17 Companies basic   frequent Q4. What are the core OOPs concepts ? Core Java
Ans. Abstraction, Encapsulation, Polymorphism , Composition and Inheritance Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  core oops concepts Asked in 65 Companies basic   frequent