Answer Posted / p.kumarasamy,be(cse)
C++ virtual function is a member function of a class, whose
functionality can be over-ridden in its derived classes. The
whole function body can be replaced with a new set of
implementation in the derived class. The concept of c++
virtual functions is different from C++ Function overloading.
C++ Virtual Function - Properties:
C++ virtual function is,
* A member function of a class
* Declared with virtual keyword
* Usually has a different functionality in the derived class
* A function call is resolved at run-time
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What makes a language oop?
program for insertion ,deletion,sorting in double link list
What is the point of polymorphism?
What is abstraction in oop?
What is encapsulation in simple terms?
what is graphics
write a C++ program for booking using constructor and destructor.
What is the difference between encapsulation and polymorphism?
What is abstraction and encapsulation?
Is react oop?
What is encapsulation example?
Why do we use oop?
What is polymorphism and its types?
What is polymorphism explain?
class type to basic type conversion