Superclass is those classes that extended by another class (sub class). It is also known as base classes or parent class. In other words you can say that “a class whose all properties and methods are inherited by subclass is known as superclass”.
For Example
public class SupperClass
{
...........
.........
}
A new class (SubClass) can be created by extending all properties or methods of SupperClass.
A super-class is the basis of the class under consideration of a given class. The given class is defined as a subset of the super-class. Objects of the given class potentially posses all the characteristics belonging to objects of the super-class.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Superclass is those classes that extended by another class (sub class). It is also known as base classes or parent class. In other words you can say that “a class whose all properties and methods are inherited by subclass is known as superclass”.
For Example
{
...........
.........
}
A new class( SubClass) can be created by extending all properties or methods of SupperClass.
{
............
.............
}
A super-class is the basis of the class under consideration of a given class. The given class is defined as a subset of the super-class. Objects of the given class potentially posses all the characteristics belonging to objects of the super-class.