Example Programs: Introduction to O-O

Description

Program name

The first Object-Oriented example

FirstOOExample

An program with a wide open class definition (variable attributes can be directly modified outside of the methods of the class)

SecondExampleNoProtection

Re-factored version of the previous example: employs accessor and mutator methods. ThirdExampleInformationHiding
Illustrates the use of constructors as well as method overloading FourthExampleUsingConstructors