Medium 10 questionsAI-generated
★★★★★★★★★★Not rated yet

Java Quiz: OOP, inheritance, interfaces and collections

Test your object-oriented programming knowledge in Java: inheritance, interfaces, encapsulation, static, exceptions, collections, generics and equals.

Start the quiz Created by lecouze13

Question preview

  1. Which keyword declares that a class inherits from another class in Java?
  2. Which modifier makes a field accessible only from the code of its own class?
  3. What is the syntactic particularity of a Java constructor?

… and 7 more questions to discover by playing.