Computer Science, asked by guddan, 1 year ago

what is virtual function? how it is used in C++?

Answers

Answered by Shravani83
1
A schematic function for computer programming in which the linear concepts of procedures and tasks are replaced by the concepts of objects and messages is called virtual function.
It is used in class hierarchy in C++.I have provided the image below.
Attachments:

guddan: can u please explain it with example
Similar questions