The image jjdev001.gif shows an example of an Employee class defined with two attributes: last name (lastName) and employee identifier (ID). The Employee class defines the fields that instances hold (state) and methods you can invoke on instances of Employee (behavior). Each instance of Employee holds its own state. You can access that state only if the creator of the class defines it in a way that provides access to you.
End of image description.