Java SE 8 Programmer I Free Practice Exam Questions

23 real Java SE 8 Programmer I exam questions with answers and AI explanations. Oracle certification prep — page 2 of 3.

  1. Question 103: Which three statements are true about the structure of a Java class? (Choose three.)
  2. Question 132: Which two array initialization statements are valid? (Choose two.)
  3. Question 133: Which two features can be implemented in a Java application by encapsulating the entity classes used? (Choose two.)
  4. Question 136: Which two initialization statements are valid? (Choose two.)
  5. Question 146: Which statement is true about the main() method?
  6. Question 149: Given these requirements: ✑ Bus and Boat are Vehicle type classes. ✑ The start() and stop() methods perform common operations across the Vehicle class type. ✑…
  7. Question 162: Which statement is true about the switch statement?
  8. Question 184: Which two code fragments cause a compilation error? (Choose two.)
  9. Question 193: Given the class definitions: class C1 {} class C2 extends C1 {} class C3 extends C2 {} and the code fragment: 16. C1 obj1 = (C1) new C2(); 17. C2 obj2 = (C2) n…
  10. Question 195: Which three statements describe the object-oriented features of the Java language? (Choose three.)