adspace
What is data abstraction? what are the three levels of data abstraction with Example?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category