Computer Science, asked by Frigkeg, 8 months ago

If class A inherits from class B , which is Sub class?,which is Superclass?

Answers

Answered by Pragya3918red
2

Answer:

If class A inherits from class B, then A is the sub class because a sub class is the one which inherits the properties of another class.

On the other hand, class B is the Super class because the super class is the class from which other classes inherit properties.

I HOPE THIS ANSWER WILL HELP YOU AND PLEASE MARK THIS ANSWER THE BRAINLIEST ONE...

Similar questions