0
Real time example for encapsulation
real time example for encapsulation with program
2 Answers
+ 10
how old are you? where do you work? why are you here?
+ 8
Refer here for encapsulation example: https://www.tutorialspoint.com/java/java_encapsulation.htm