Java Quiz: OOP, inheritance, interfaces and collections
Test your object-oriented programming knowledge in Java: inheritance, interfaces, encapsulation, static, exceptions, collections, generics and equals.
Question preview
- Which keyword declares that a class inherits from another class in Java?
- Which modifier makes a field accessible only from the code of its own class?
- What is the syntactic particularity of a Java constructor?
… and 7 more questions to discover by playing.