Technical Interview Questions and Answers :: C++
1 / 187
Creating a new class, reusing the properties of the existing ones ,this mechanism of deriving a new class from the old one is called inheritance or derivation. The old class is referred to as the bare class and the new one is called the derived class or subclass.
2 / 187
Function overloading
3 / 187
A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition related to the base class.
e.g.: virtual void display () =0;
4 / 187
A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition related to the base class.
e.g.: virtual void display () =0;
5 / 187
Constructor is used to initialise class variable when object of class is created
6 / 187
No Discussion on this question yet!
7 / 187
No Discussion on this question yet!
8 / 187
No Discussion on this question yet!
9 / 187
No Discussion on this question yet!
10 / 187
No Discussion on this question yet!