Java final quiz

  • Admin
  • 1 min read

Ten mixed questions covering the whole Java track, from compilation to the capstone.

Java

Java final quiz

10 questions, instant feedback

Question 1 of 10 What does the JVM provide that makes Java portable?
Question 2 of 10 What is the value of 10 % 3?
Question 3 of 10 Which loop guarantees the body runs at least once?
Question 4 of 10 What is the difference between == and equals for objects?
Question 5 of 10 Which statement about interfaces is correct?
Question 6 of 10 What happens when an array index is out of bounds?
Question 7 of 10 Why override hashCode with equals?
Question 8 of 10 What does a JUnit @Test method need?
Question 9 of 10 What is a stream in Java?
Question 10 of 10 Which is the better reason to use Maven or Gradle?

Your answers stay in this browser. Nothing is sent to a server.