CS1010 -- Week 5 Lecture 1: Class Construction
Winter 2005-2006
Topics
Defining your own classes
- Define and use classes with multiple methods and data members.
- Define and use value-returning and void methods.
- Properly use accessibility modifiers in defining methods and fields.
- Create and use class constructor methods.
- Distinguish between arguments and parameters.
- Understand and apply accessor and mutator methods.
- Define and use methods that have primitive data types as parameters.
- Define and use methods that have reference data types as parameters.
- Overload the class constructor method.
- Understand the importance of information hiding and encapsulation.
- Define and use class constants.
- Declare and use local variables.
- Call methods of the same class.
- Make an instantiable class the main class.