Site MapHelpFeedbackChapter Summary
Chapter Summary
(See related pages)

• Data members of a class refer to the instance and class variables and constants of the class.
• An object’s properties are maintained by a set of data members.
• Class methods can access only the class variables and class constants.
• Instance methods can access all types of data members of the class.
• Public methods define the behavior of an object.
• Private methods and data members (except certain class constants) are considered internal details of the class.
• Components (data members and methods) of a class with the visibility modifier private cannot be accessed by the client programs.
• Components of a class with the visibility modifier public can be accessed by the client programs.







WuOnline Learning Center

Home > Chapter 5 > Chapter Summary