What are advantage in applying encapsulation feature when writing a Java program?
1
Expert's answer
2010-08-19T07:27:02-0400
Encapsulation allows us to hide the proprietary information of the object within a class. You can clearly distinguish which information about the objects of your class will be visible to the user, and which will be hidden and through which methods the user will work with hidden information.
Comments
Leave a comment