Encapsulation
- It is the process or method to contain the information.
- Wrapping of data and function into a single unit is called data encapsulation
- Encapsulation is a method to hide the data in a single entity or unit along with a method to protect information from outside.
- It can be implemented using by access modifier.
Important Point:
- Data Abstraction is the method of hiding unwanted information.
- Polymorphism is a feature of OOPs that allows the object to behave differently in different conditions.
- The objects that help to perform abstraction are encapsulated but the objects that result in encapsulation need not be abstracted.

