abstraction:It refers to the act of representing essential features without including the background details.
for example: if a customer wants to buy a car.he looks at its color,perfomance etc but he doesnt look at things like how these are functioning internally etc.
encapsulation:the wrapping up of data and functions into a single unit called class is called encapsulation.
Abstraction:It refers to the act of representing essential features without including the background details.for example:If a customer wants to buy a car.he looks at its color,perfomance etc but he doesnt look at things like how these are functioning internally etc.Encapsulation:The wrapping up of data and functions into a single unit called class is called encapsulation