Objectives
-
Understand the role that methods play in an object-oriented program.
-
Know how to use parameters and arguments to pass data to an object.
-
Understand how constructor methods are used to instantiate objects.
-
Know the difference between passing a value and passing a reference to an object.
-
Be able to design your own methods.