Which keyword is used to inherit a class in Java?
✅ Correct answer: (B) extends
Explanation:
A class extends another class; it implements interfaces.
✅ Correct answer: (B) extends
A class extends another class; it implements interfaces.
Enter your email to download. We'll also send you new questions occasionally — unsubscribe anytime.
💬 Discussion (0)
Doubt about the answer? Another way to solve it? Share it here — upvote the clearest explanation and it rises to the top.
Log in or sign up free to comment.