Class ---Formal definitions of what properties we want our objects
to have, what capabilites we want them to be able to perform, and the relationships
they have with other types of objects.
Constuctor Method---Generally the first method in a class
. It also has the same name as the class it's in. Constuctors are invoked
when objects are first initialized. Its purpose is to set up the inital
state of an object.
Instance Variable---A variable declared in the body of a class
, but outside any method. This makes it usable in any method in that class.
back home