Virtual function - Definition - Polymorphism and Abstract Classes

Q.   _______________ is a member function that is declared within a base class and redefined by derived class.
- Published on 17 Jul 15

a. virtual function
b. static function
c. friend function
d. const member function

ANSWER: virtual function
 

    Discussion

  • ramesh   -Posted on 12 Oct 15
    virtual function is a member function that is declared within a base class and redefined by derived class.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)