Java Foundations Free Practice Exam Questions

19 real Java Foundations exam questions with answers and AI explanations. Oracle certification prep — page 1 of 2.

  1. Question 2: Which statement is valid?
  2. Question 12: Which statement is true about primitive variables?
  3. Question 13: You have been asked to develop a Java program that prints the elements of an array in reverse order. Which looping statement cannot be used to meet the require…
  4. Question 16: Identify two Java reserved words.
  5. Question 17: Identify two valid data types for the operands of the addition (+) operator?
  6. Question 20: Which statement is true about exception handling?
  7. Question 24: Identify three features of the Java programming language.
  8. Question 27: Which statement is true about a mutator method?
  9. Question 29: Which statement is true about a Java method?
  10. Question 32: Which two statements are true about the Java Runtime Environment (JRE)?