Computer Science, asked by Sarim666, 3 months ago

What is the example of data abstraction in Java?​

Answers

Answered by asmithakur635
0

Answer:

Data Abstraction is the property by virtue of which only the essential details are displayed to the user. The trivial or the non-essentials units are not displayed to the user. Ex: A car is viewed as a car rather than its individual components.

Explanation:

hope u like it

Answered by BrainlyProgrammer
2

Data Abstraction:-

Defination:-

  • The knowledge of essential features without knowing the background details is called Data Abstraction.

Example:-

Suppose you are driving a car. You know how to put a brake, how to turn a car,how to drive a car etc. So for driving a car you don't need to know the internal feature of a car.

Here in this example "essential features" are referred to "how to drive a car" and "background details" are referred to "internal feature of the car".

Similar questions