asked in Inheritance by (58.6k points)

1 Answer

You can use Inheritance in Java by extending classes and implementing interfaces. Java provides two keywords extends and implements to achieve inheritance.  A class which is derived from another class is known as a subclass and an interface which is derived from another interface is called subinterface. A class which implements an interface is known as implementation.
answered by (58.6k points)

Java Interview Questions and Answers 2018

...