What is Data Encapsulation in JAVA?
Answers
Answered by
2
Answer:
In encapsulation, the variables of a class will be hidden from other classes, and can be accessed only through the methods of their current class.
Answered by
0
Answer:
Encapsulation is defined as the wrapping up of data under a single unit.
Please mark me brainlliest
Similar questions