VIP Exclusive

SCJP VIP Certification Practice Exam II

SCJP — The SCJP (Sun Certified Java Programmer) exam, now continued as the Oracle Certified Professional (OCP) Java SE Programmer, was issued by Sun Microsystems and tested Java SE proficiency; the SCJP 6.0 exam (310-065) consisted of 72 questions in 210 minutes with a 65% passing score, covering OOP, generics, collections, concurrency, exception handling, and core APIs.

27
Questions
90m
Time Limit
65.00%
To Pass
Question 1 of 27👑 VIP

Consider the following code: java public class BitwiseTest { public static void main(String[] args) { int x = 0b1010; // binary 1010 int y = 0b1100; // binary 1100 System.out.println((x ^ y) + " " + (x & y)); } } What is printed to the console?

Questions 2–27 and full explanations are VIP-exclusive.