Inheritance In C Plus Plus - Study Mode

[#11] What is Inheritance in C++?
Correct Answer

(B) Deriving new classes from existing classes

[#12] What is a virtual function in C++?
Correct Answer

(D) All the functions which are declared in the base class and is re-defined/overridden by the derived class

[#13] Which concept of OOPs is shown by Virtual Functions?
Correct Answer

(C) Polymorphism

[#14] Virtual functions in C++ tells the compiler to perform . . . . . . . . on such functions.
Correct Answer

(B) late binding

[#15] Which specifier makes all the data members and functions of base class inaccessible by the derived class?
Correct Answer

(A) private