relationship in which the object “is a” concrete example of the class
Is-a relationship
Instantiation
reusability
are data components of a class to help them distinguish from the other variables.
Data Fields
Instance variable
Information hiding
setters and getters
Primary Key
Two-step process in creating an object that is an instance of a class:
_______ – establishes an object.
- it should be the same name as the class.
Constructor
– is created automatically by the java compiler for any class that has no its own constructor.
Default constructor