Abstraction is the process of extracting the
relavent properties of an object wwhile ignoring non-essential details .
In another words we can say abstraction focuses upon the
essential characteristics of an object .
Since the classes use the concept of data abstraction, they are known as
abstract data type (ADT) . A
class represents essential features
without including the background details or explanations .
Abstract data types provide an
interface for programming without knowing the complexity of how the object actually performs its task .
Example :
Basic arithmatic operations like
addition ,
subtraction ,
multiplication and
division , for two numbers, it does not matter to know the complex details of these
operations like how the number is stored or how the logics implemented using algorithms for task to be completed .