Advertisements
Advertisements
प्रश्न
What is data abstraction? Explain with an example.
संक्षेप में उत्तर
उत्तर
- It is an act of representing essential features of a class without undergoing background details.
- For example, while driving a car, you are only aware of its important parts (using essential features) viz. clutch, brake, gears and accelerator. By applying brakes, you can stop the car and thus you need not require to know the internal mechanism of the brake of car.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?