Virtual Functions

  • + 1 comment

    So, when we give virtual for first class, that means we are not refering the getdata() of person class. Instead we are refering to getdata() of derived class. Am I correct?