Java Associate — Easy
Explanation
In Java, the keyword used to inherit a class is "extends." This keyword allows a subclass to inherit the properties and methods of a superclass.
Ready to go further?
Related questions
- What does the `static` keyword mean when applied to a method?
- What is the purpose of the `StringBuilder` class in Java?
- Which of the following correctly describes the behavior of the `finally` block in Java?
- What is method dispatch and how does Java resolve virtual method calls?
- What is the difference between `ConcurrentHashMap` and `Collections.synchronizedMap()`?
- What is the result of `10 % 3` in Java?
