An object is an encapsulation of data.
An object has
An object is an instance of an class
An object has
- identity (a unique reference)
- state, also called characteristics (variables)
- behavior (methods)
An object is an instance of an class
- A class is often called an Abstract Data Type (ADT).
Comments
Post a Comment