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 is the benefit of oop?
What is the difference between a constructor and a destructor?
Why is polymorphism important in oop?
What is encapsulation process?
what are the different types of qualifier in java?
What is polymorphism in oops with example?
What is byval and byref? What are differences between them?
What is class and object in oops?
Is abstract thinking intelligence?
What is the use of oops?
What are the 4 main oop principles?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Which is not an object oriented programming language?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What does oop mean in snapchat?