Which keyword is used to inherit a class in C++?

Explanation:

C++ uses a colon (:) to define inheritance.

Explore more in Computer Science: