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. |
|
| ||||
Core Java - Interview Questions and Answers for 'Java features' - 3 question(s) found - Order By Newest | ||||
| ||||
Ans. Car Engine is an example of encapsulation and abstraction. You ignite the car using an interface called starter and least bothered about how the tire actually moves (This is abstraction). The engine encapsulates the complete process to itself only and doesn't allow you to start the other components like the radiator etc ( this is excapsulation ) | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  encapsulation  object oriented programming (oops)  oops concepts  abstraction  oops  oops features  java features Asked in 13 Companies | ||||
Related Questions | ||||
Explain OOPs or Explain OOPs Principles or Explain OOPs Concepts or Explain OOPs features or Tell me something about OOPs | ||||
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 ? | ||||
| ||||
Ans. Encapsulation | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   java concepts   java features   oops concepts   oops features   access protection   information hiding | ||||
Related Questions | ||||
| ||||
Ans. Inheritance | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   java concepts   java features   code reusability | ||||
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 | ||||
Which of the following Java features facilitates Dependency Injection - Inheritance or Composition ? | ||||
Which Java features you like the most ? | ||||
Which Java features you dislike the most ? | ||||
Which java features makes java different from other languages ? | ||||