Programming, Python.
class is an example of encapsulation as it encapsulates all the data that is member functions,variables etc. Difference between Abstraction and Encapsulation Abstraction is a mechanism which represent the essential features without including implementation details. Encapsulation: — Information