All quizzes
Free quiz · 50 questions in the bank

Java quiz

Test your Java knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the difference between JDK, JRE, and JVM?

In this round
  1. What is the difference between JDK, JRE, and JVM?
  2. The `final` keyword can be applied to:
  3. Java code is organized into packages. The role of `package` and `import` is:
  4. A for-each loop in Java works on:
  5. Method overriding vs overloading — the difference is:
  6. Generic types like `List<String>` allow:
  7. An `interface` in Java is:
  8. `HashMap` vs `TreeMap` — the key difference is:
  9. In Java, what is the difference between primitive types and reference types?
  10. `this` and `super` refer to:
  11. Streams (`Stream<T>`, introduced in Java 8) are best described as:
  12. `Optional<T>` is used to:
Gaps to close?
Read the curated Java notes — core concepts, patterns, interview prep.
Java notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid