+ 7
What is a superclass
what is a superclass.i want to know it's meaning and also if you are a good hearted person give a upvote to my ques as I want to unlock a badge and burn my friends out of jealousy.but please also tell about superclass with an example.
4 odpowiedzi
+ 8
@Tony Stark, a superclass is a base class, a class that a subclass derived from, so if you create a class by extending another class, the class you create is a subclass, and the other class (the one you extended) is the superclass.
(Edit)
You can use the Search bar to seek such answers too, I suppose :)
Hth, cmiiw
+ 7
class whose properties r inherited(also known as base /parent class)
eg: class dog extends animal
{
}
here,animal is superclass
+ 5
@tony:
there a good and bad ways to unlock a badge.
This is a middle one.
not good enough for me.
I will follow you and see what you are doing.
yes i am middle hearted i know...