May 24, 2019 in JAVA
Q: Inheritance means one class can extend to another class. So that the codes can be reused from one class to another class.

Existing class is known as Super class whereas the derived class is known as a sub class.

Related questions

0 votes
May 24, 2019 in JAVA