Answer Posted / amna arslan
*SUPER CLASS ENTITY*
the class from which another class is derived is called super class.
it also called a base class.
the older one is called a super class.
super class is a simple class.
*SUB CLASS ENTITY*
the class which is derived from super class is called sub class.
it is also called a derived class.
the newer one is called a sub class.
sub class is a class that inheritance from super class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is singleton class used?
What is arraylist e?
What is a class instance variable?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
Why is the singleton pattern considered to be an anti pattern?
What are the high-level thread states in java programming?
How garbage collection is done in java?
How many static init can you have?
Is ++ operator is thread safe in java?
Which class cannot be a subclass in java?
What is the difference between stringbuffer and stringbuilder class?
How do you make an arraylist empty in java?
What is a native method in java programming?
What is the use of volatile in java?
How do you convert int to char in java?