Answers for "why do we need encapsulation"

0

encapsulation

Encapsulation: 
Encapsulation is the mechanism of hiding of data implementation by 
restricting access to public methods. Instance variables are kept 
private and accessor methods are made public to achieve this.
Posted by: Guest on August-09-2021

Code answers related to "why do we need encapsulation"

Browse Popular Code Answers by Language