What is data abstraction? what are the three levels of data abstraction with Example?



What is data abstraction? what are the three levels of data abstraction with Example?..

Answer / Gyanendra Pratap Singh

Data Abstraction is a process in OOP that involves hiding complex or unnecessary details and only exposing essential features to the user. There are three levels of data abstraction: 1. High-level (Complete) Abstraction: The user does not need to know anything about the implementation. For example, using an ATM machine. You don't need to know how it works internally as long as you can deposit and withdraw money. 2. Medium (Abstract) level Abstraction: Users have some knowledge of the implementation but not all details. For example, a car user knows about the steering wheel, accelerator, and brakes, but doesn't need to know how the engine works. 3. Low-level (Concrete) Abstraction: Users have detailed knowledge of the implementation. For example, a mechanic working on a car engine.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

What is a try/ catch block?

1 Answers  


Explain what you understand by function overloading.

1 Answers   TCS,


What is abstraction? How does it differ from encapsulation

1 Answers  


What are the Differentiate between abstraction and encapsulation.

1 Answers  


What is Object Constraint Language (OCL)?

1 Answers   Protech,


Explain about abstraction?

1 Answers  


What is the difference between oop and sop?

1 Answers  


Can you create an instance of an abstract class?

1 Answers  


Explain the mechanism of composition?

1 Answers  


Why does the function arguments are called as "signatures"?

4 Answers  


Explain what is an object?

1 Answers  


Does a concept HAVE to become a class in Design?

1 Answers   Protech,


Categories