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. |
|
| ||||
Interview Questions and Answers for 'Crossover for work' - 2 question(s) found - Order By Newest | ||||
| ||||
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 260 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 ? | ||||
Very Frequently asked. Favorite question in walkins and telephonic interviews. Usually among first few questions. Asked in different variants. Must know for intermediate and expert professionals.Among Top 10 frequently asked questions. | ||||
| ||||
Ans. A Class must override the hashCode method if its overriding the equals method. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   collections   hashcode  hash code   equals   collections Asked in 44 Companies intermediate   frequent | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object? | ||||
Write a class and override the equals and hashcode method ? | ||||
How many threads can access a concurrent hashmap when the hashcode is overridden and always returns a zero. | ||||