PRACTICE EXAM 3

This practice exam has 60 questions and you are given three hours to complete it. On the real exam, and on all of the exams in this book, give yourself credit only for those questions that you answer 100 percent correctly. For instance, if a question has three correct answers and you get two of the three correct, you get zero credit. There is no partial credit. Good luck!

1. Given:

          3. class Bonds {          4.   Bonds force() { return new Bonds(); }          5. }          6. public class Covalent extends Bonds {          7.   Covalent force() { return new Covalent(); }          8.   public static void main(String[] args) {          9.     new Covalent().go(new Covalent());         10.   }         11.   void go(Covalent c) { ...

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.