Home > Software > Java > Core-Java
Interview Questions   Tutorials   Discussions   Programs   

Core-Java - What is data abstraction? Elaborate with example?

asked marvit June 26, 2014 03:24 PM  

What is data abstraction? Elaborate with example?


1 Answer

Best answer
answered By Apoorva Sharma   0  Best answer
Abstraction is the OOP concepts which hides the implementation details and shows only the functionality.

You can take an example of a car, to move a car from one place to another you need to understand the basic functionality of the car which is clutch,accelerator,brake and gear.We don't have to worry about the processes which are triggered by them in the background which makes a car to move as they are not relevant to us.

In Java,we can achieve abstraction through abstract keyword at method and class level.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!