Inherited Virtual Attributes,Hierarchical nature of Virtual-Methods





This video tutorial explains the inherited attributes and the hierarchical nature of virtual methods/functions in c++.
You will learn how the virtual methods behave when they are used with inheritance in detail with example.

source code for this tutorial

#include 

using namespace std;

class Person{
public:
   virtual void introduce(){
    cout <<"hi from person"<
                  
Back To Top