Write a program to show Inheritance in Java
Introduction In this post, we will define an abstract super class Book.java and define two sub classes Novel and TextBook. In Java we can use the extends keyword to subclass from the parent class using Inheritance. Abstract Book class /************************************************** * Book.java * @program : Book is an abstract class * @web : www.TestingDocs.com * […]