CS 1401, Quiz 10

Date: Monday, November 13, 2006
Name (please type legibly, ideally in block letters): ______________________________________________________________________

1. Mark what new material is covered and what is not covered in Chapter 12:

2. Define a class Student in which each object has a name and a GPA. Do not forget to include a constructor, accessor methods, and mutator methods.

3. Considering Student as a superclass, define a subclass CsStudent in which each object has an additional field: GPA in CS classes.

4. In the main method, define a new object of type CsStudent with your name and perfect GPAs, and return its perfect GPA. Trace your code step-by-step.