what is virtual function?
Answers were Sorted based on User's Feedback
Answer / ravi
Virtual function is a member function of a class.whose
functionality can be overridden in is derived class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / 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 |
Answer / brunda r
Virtual functions are the functions declared as normal
function call but preceeded by keyword 'virtual'.Its value is
equated to zero and its definition is incomplete or
blank.Virtual functions is dynamic polymorphism.
| Is This Answer Correct ? | 1 Yes | 2 No |
hi all..i want to know oops concepts clearly can any1 explain??
what is code for call by value and call by reference?
In multilevel inheritance constructors will be executed from the .... class to ... class
why freind function takes more parameter than normal member function in c++?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
What do you mean by inheritance?
Difference between new operator and operator new
function overridind means and simple program
What is difference between polymorphism and inheritance?
can you explain how to use JavaBean in Project
What are different oops concepts?
What is sub classing in c++?