This illustration shows the following:
End of list.
A label adds the following information about the class: "Employee class defines the fields that instances hold (state) and methods you can invoke on instances of Employee (behavior)."
A new instance of the Employee class is created when executing a constructor with an appropriate employee identifier and last name, as follows:
Employee emp = new Employee(215 63 2179, Smith);
A label adds the following information about instances: "Each instance of Employee holds it own state. You can access that state only if the creator of the class defines it in a way that provides access to you."
This example shows two new Employee instances created with the following values:
End of list.
End of description.