Search Interview Questions
| 3027 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.
|Interview Questions and Answers for 'John Deere' - 1 question(s) found - Order By Newest|
|Very frequently asked to Fresh graduates.|
|Ans. 1.Abstraction solves the problem at design level while encapsulation solves the problem at implementation level|
2.Abstraction is used for hiding the unwanted data and giving relevant data. while Encapsulation means hiding the code and data into a single unit to protect the data from outside world.
3. Abstraction lets you focus on what the object does instead of how it does it while Encapsulation means hiding the internal details or mechanics of how an object does something.
4.For example: Outer Look of a Television, like it has a display screen and channel buttons to change channel it explains Abstraction but Inner Implementation detail of a Television how CRT and Display Screen are connect with each other using different circuits , it explains Encapsulation.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java oops oops concepts encapsulation abstraction basic interview question Synechron Amazon HCL Technologies Tata Consultancy (TCS) Wipro Infosys Technologies 3DPLM Software Solutions Ojas Innovative Technologies John Deere basic   frequent|
Try 2 Question(s) Test
|What is Polymorphism in Java ?|
|Difference between Overloading and Overriding ?|
|Difference between Composition and Inheritance ?|
| Which of the following Java feature promotes access protection or Hiding ?|
|What are the features of encapsulation ?|
|How is Abstraction implemented in Java ?|
|Difference between Encapsulation and Data Hiding ?|
|Difference between Abstraction and Implementation hiding ?|
|What are the examples of Abstraction in Java ?|