PPT Slide
Classes, Visibility and Encapsulation
1. A class typically makes only part of its behaviors externally visible.
2. A class typically makes none of its state externally visible.
3. Encapsulation is the implementation of hiding class/object state.
1. An object is an instance of class with a specific assignment of
values to instance variables. Objects typically have
some unique values for instance variables which serve
2. An object has all of the behaviors defined for the class.
1. A specification of the behaviors associated with an abstraction.
2. A named software representation of an abstraction’s visible
behavior that may be implemented by multiple classes.
3. Classes implementing an abstract interface must implement
4. A class may implement more than one abstract interface. (Multiple