what is virtual function?

Answer Posted / b.mamatha

A virtual function or virtual method is a function or method
whose behaviour can be overridden within an inheriting class
by a function with the same signature. This concept is a
very important part of the polymorphism portion of
object-oriented programming (OOP).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

646


What is object in oop?

699


Is abstract thinking intelligence?

606


What is the real time example of inheritance?

650


What is the problem with multiple inheritance?

595






What is the diamond problem in inheritance?

596


why reinterpret cast is considered dangerous?

1912


What polymorphism means?

632


Plese get me a perfect C++ program for railway/airway reservation with all details.

3441


what are the realtime excercises in C++?

2341


When not to use object oriented programming?

576


What does enum stand for?

624


Advantage and disadvantage of routing in telecom sector

796


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2774


is there any choice in opting subjects like 4 out of 7

1739