Search Interview Questions
| 3359 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Combine the data of our application and its manipulation at one place. |
Encapsulation Allow the state of an object to be accessed and modified through behaviors.
Reduce the coupling of modules and increase the cohesion inside them.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   oops   oops concepts   encapsulation  object oriented programming (oops)  oops concepts   basic interview question Asked in 2 Companies basic   frequent|
|What is the difference between Encapsulation and Abstraction?|
|Can you give a real world example of Encapsulation and Abstraction ?|
| Which of the following Java feature promotes access protection or Hiding ?|
|How is Abstraction implemented in Java ?|
|Difference between Encapsulation and Data Hiding ?|
|Why it's a good practice to expose member elements through getter methods ?|
|How can we hide a class in Java ?|
|Define encapsulation in Java ?|
|Which of the OOP's feature - encapsulation or abstraction - is more important ?|