asked in Inheritance by (58.6k points)

1 Answer

You can use either extends of implements keyword to implement Inheritance in Java.  A class extends another class using extends keyword, an interface can extend another interface using extend keyword, and a class can implement an interface using implements keyword in Java.
answered by (58.6k points)

Java Interview Questions and Answers 2018