What is a Class?
Objects of the same type fall into a Class. Consider for example a Car. A Car can be represented as a Class with a state variable of price and methods like Stop, Move etc.
Now Mercedes can be an object of type or class Car with a price of $XX, whereas Buick can be an Object of type or Class Car with price of $YY. Hence Objects of a Class are similar except for their state.
C++ FAQ Home