Encapsulation
What is encapsulation?
- Encapsulating data(variables) and corresponding the methods into a single unit.
- Central concept of Encapsulation is hiding the data behind the methods.
Example: A class is best example for Encapsulation.
Thanks for your time.
Thanks for your time.
Nireekshan