CS 101 (Spring 2000)
Quiz 9: APIs and Design

Quiz Posted
(Thursdays)
Given in class
(Thursdays)
30 Mar 6 Apr

Information about quizzes:

The questions are intended to be straightforward. If you keep up with the material in the class, almost no preparation may be necessary. The Collaboration Policy allows you to study in groups for the quizzes, but you are on your own when you take the quiz.

You will fare better on the quiz if you try working the problems before looking at the solutions. If you don't understand the question or its answer, please get help.

  1. What does public interface Set { } mean in Java?
  2. What does public class Foo implements Set { } mean in Java?
  3. Define the API for Relation in Java.
  4. Define ListBasedRelation so that it implements Relation.

[ solution ]


Last modified 07:15:59 CDT 04 April 2000 by Ron K. Cytron