Virtual function becomes pure virtual function by appending”=0″ to its declaration.
Let us try to understand pure virtual function with…
Category: Polymorphism
Polymorphism(Static and Dynamic)
Multiple Inheritance
In multiple inheritance, multiple classes are inherited i.e., when class needs properties of two or more classes and follows “Is-A” relationship as well.
Let us take an example to understand the concept of…
Inheritance
Inheritance is one of the core concepts of OOPS programming. Let us try to understand the basics of inheritance with…
Function Overloading
Function overloading is the type of static polymorphism. Function overloading means functions with same name but…
Virtual Function
Function is a virtual function when the virtual keyword is added in the beginning of function declaration.
virtual keyword is required…
Dynamic Cast
Dynamic casting is extensively used in C++ that uses some of the core OOPS concepts.
Let us understand with the help…