Overriding - Definition - Polymorphism and Abstract Classes

Q.  When a virtual function is redefined by the derived class, it is called___________.
- Published on 19 Jul 15

a. Overloading
b. Overriding
c. Rewriting
d. All of these

ANSWER: Overriding
 

    Discussion

  • ramesh   -Posted on 06 Oct 15
    When a virtual function is redefined by the derived class, it is called as overriding. In overriding the parameters of method is not change.

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.)