< Previous | Contents | Next >
When you create an object, you instantiate it from a class. In fact, specific objects are called instances of the class. In main(), I instantiate two instances of Critter.
Critter crit1; Critter crit2;
As a result, I have two Critter objects—crit1 and crit2.