CSci 151: Foundations of computer science II
Home Syllabus Assignments Tests

printable version

Quiz 1

[1] [2] [3]

Problem Q1.1.

[8 pts] Write a definition of the List interface as it would be defined within the java.util package, including at least four of the methods explicitly covered in class. Use the Java syntax for defining interfaces.

public interface List<E> {