What do you mean by data encapsulation
What do you mean by data encapsulation
Data encapsulation is the concept of hiding data attributes(instance variable) and behavior(methods) into a single unit (object).
We can implement encapsulation by making the instance variable as private and g...
hashcodehub.hashnode.dev1 min read