Q. Which keyword is used to inherit a class in Java?
Solution:
The extends keyword is used to inherit properties and methods from a parent class.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The extends keyword is used to inherit properties and methods from a parent class.
Strengthen Your Practice with our comprehensive question bank.