What is the difference between class and subclass?

Definitions: A class that is derived from another class is called a subclass (also a derived class, extended class, or child class). The class from which the subclass is derived is called a superclass (also a base class or a parent class).

Sizin İçin Seçtik  What are types of inner class in Java?

Leave a Reply

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