What is a virtual member?

Options
- A member of a friend class that can be redefined in its derived classes
- A member of a virtual class that cannot be redefined in its derived classes
- A member of a static class that can be redefined in its derived classes
- A member of a class that can be redefined in its derived classes


CORRECT ANSWER : A member of a class that can be redefined in its derived classes

Discussion Board
c++

EXELLENT

ABBAS 04-14-2022 01:53 AM

C++ - Virtual Member

Virtual member is a member of a class that can be redefined in its derived classes. Virtual Function is a function in base class, overrided in the derived class, and tells the compiler to perform Late Binding on this function. Virtual Keyword is used to make a member function of the base class Virtual.

Prajakta Pandit 01-24-2017 11:13 PM

c++

very nice website...

sarojini.a 07-24-2015 02:33 PM

Write your comments


Enter the code shown above:

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


Advertisement