Skip Top Navigation Bar

FRQ 2 Class Design

In FRQ 2: Class Design, you are expected to write a class that meets the given specification. The question might require you to use inheritance and extend a given class.

You will be provided with a description of the class that you will have to write as well as a table that represents the use of the class and the expected result. In some cases, you will be provided with a helper class.

As always:

Some more specific tips for approaching FRQ 2: Class Design are as follows:

public class ClassName {
   //instance variables
   private type name;

   //constructor
   public ClassName (type param1, type param2, ...) { 
      //body
   }

   public returnType methodName (type param1, type param2...) {
       //body
   }
}

More Resources