Encapsulation is the process of grouping methods and data
together and hiding them behind a public interface. A class demonstrates good
encapsulation by protecting variables with private or protected access, while
providing more publicly accessible setter and/or getter methods
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment