What is inheritance in Java?
Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.
Great! You've correctly defined inheritance in Java.
Can you explain what the `extends` keyword is used for in Java?