What is overriding
The derive class can override the member functions of its base class.
What is the difference between overriding and overloading
Overloading is done within the scope on one class and overriding is done in the scope of parent child. For overloading class is same and function name is same but the number of parameter is different. but in overriding everything can be same.
What is direct base class
class Child1: public Parent1 Parent1 is direct base class
What is indirect base class
An indirect base class is not explicitly listed in a derived class. It is inherited one or two levels up in hierarchy.