D. Somewhere in the code, a second instance of Piston must be instantiated.

E. There are errors in the code that must be fixed, outside of lines 4, 12, and 13.

31. Given:

          2. public class Juggler extends Thread {          3.   public static void main(String[] args) { ...

Get OCP Java SE 6 Programmer Practice Exams (Exam 310-065) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.