Answers to Exercises
A class is a body of code that contains properties and methods that describe an object. An object is an instance of a class that can be used in a program. Classes and objects are related in that a class is a template from which an object is created. They are different in that a class is not directly used in a program, whereas an object is.
The Five Program Steps:
The first statement defines a reference variable that you can use to access a clsThingie object. The second statement instantiates a clsThingie object and makes its properties and methods available through the reference variable named myThingie.
A simple oven might have the following properties and methods:
// ================ Properties =================== int ovenTemp; // 0 is off, otherwise desired temperature ...