Tom Kelliher, CS 116
Aug. 28, 2002
Read Chapter 1.
First lab.
Come to class prepared to work and experiment!
The constructor for a class has the same name as the class. We create an object as follows:
ClassName objectName = new ClassName(argument list);
We use the methods of an object as follows:
objectName.methodName(actual arguments);
See class home page.
Refer to handout.