Question { Fidelity, 9927 }
Difference between Encapsulation and Abstraction
Answer
abstrction in simple language is making complex thing simple
to use by using small and simple controls.
example:- as we know that the car is made up of many
complicated parts.but without bothering the internal details
of car we can drive using accelerator,break and clutch.in
this example accelarator,break and clutch are the small
controls,which makes possible to operate compicated car
encasulation is a method of defining data members and method
together within a class.