Answer to Question #561 in Java | JSP | JSF for Huzaifa Ismail
What are advantage in applying encapsulation feature when writing a Java program?
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.
No comments. Be first!