Search This Blog

Friday, 20 July 2012

What is an Abstraction?


. Abstraction is thinking about something a certain way
. Abstraction is the representation of only the essential features of an object and hiding un essential features of an object.
. Through Abstraction all relevant data can be hide in order to reduce complexity and increase efficiency
. Abstraction is simplifying complex reality by modeling classes appropriate to the problem
. Abstraction-outer layout, used in terms of design
. Encapsulation protects abstraction.
. It taking required data and hiding the unwanted data. 

In this above example abstraction shows only necessary details of car or shows only necessary details to drive a car like rear view mirror, gear, clutch, steering And hides internal detail of car like Piston, crankshaft, carburetors, gas turbines etc which is encapsulation for a car.

Abstraction shows only required data and hides unwanted data.

PREVIOUS CHAPTER

NEXT CHAPTER

No comments:

Post a Comment