Is it possible to have a derived class from a derived class from a base class? | SoloLearn: Learn to code for FREE!

+1

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?

3 Answers

New Answer

+4

A derived class acquired the properties of base class. While inheriting from base class, the derived class implicitly inherits all the members (except constructors and destructors) which it reuses, extends and modifies the behavior of the base class. It Is also called as Child class .

+2

Yes, it is called multilevel inheritance.

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 :-)