+ 2

Is it possible to have a derived class from a derived class from a base class?

I know that classes can be derived from a base class. But can there be a derived class from a derived class?

2nd Jun 2020, 8:22 AM
Query
Query - avatar
3 Respuestas
+ 2
Yes, it is called multilevel inheritance.
2nd Jun 2020, 8:44 AM
Avinesh
Avinesh - avatar
0
Why is this even a thing(like asking for a upvote ,or a like on YouTube vids), Don't ask for upvotes pls as you might get lot of downvotes :-)
2nd Jun 2020, 8:24 AM
Abhay
Abhay - avatar