Monday, June 18, 2012

How is object completely encapsulated?


All the instance variables should be declared as private and public getter and setter methods should be provided for accessing the instance variables.

No comments:

Post a Comment