What is the difference between superclass and subclass?-
?– A super class is a class that is inherited whereas sub class is a class that does the inheriting. In Java, a superclass (or parent class) is a class that is extended by another class, known as the subclass (or child class). The relationship between a superclass and a subclass is part of the … Read more