View Full Version : What is the difference between superclass and subclass?

06-12-2016, 11:11 PM
What is the difference between superclass and subclass?

08-18-2016, 12:38 AM
The super class is a class that is inherited,it is simple class generally.

The sub class is not inherited,it will inherit all the properties of super class,access all the methods variable of super class not vice versa.

02-06-2017, 05:09 AM
subclass inherits all the properties of a Super class.

02-28-2017, 04:56 AM
The superclass is the class from which the current class inherits. And The subclass is the class which inherits from the current class. Thanks!

code inspection tools (https://www.checkmarx.com/2015/11/18/web-application-firewalls-wafs-ethical-hacker-exposes-his-secrets/)

03-13-2017, 04:00 AM
Subclasses, Superclasses, and Inheritance. To recap what you've seen before, classes can be derived from other classes. The derived class (the class that is derived from another class) is called a subclass. The class from which it's derived is called the superclass.

12-13-2017, 05:15 AM
Subclasses, Superclasses, Also Legacy. On recap the thing that you've seen before, classes might make inferred from other classes. The inferred class (the class that is determined from in turn class) is called An subclass.

01-30-2018, 02:36 AM
Super class refers to a high level class, which passes some kind of attribute and procedures. This is usually followed down to the hierarchy to subclasses. Most of the time abstract super classes are referred to as master structures and almost most of the time no objects are created for it.
On the other hand, a subclass is that inherits different kinds of specifications and also behaviors. This could also include methods, procedures and variables from any other class.