What is the difference between super class and sub class?

The difference between the Superclass and Subclass is that Superclass is the existing class from which new classes are derived while Subclass is the new class that inherits the properties and methods of the Superclass .

Sizin İçin Seçtik  How do you define a superclass in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *