I red the following statement the other day:
>An object has a state that can be represented in a state diagram<
I don't understand what a state diagram is, or how it can represent an object's state.
Could someone share some knowledge on this, thank you.
I also red that a class defines the data associated with each object of that class.
When it says data, does it mean the variables involved with that object and other information like the name of object?