what is virtual function?
Answer Posted / diwakar saraswat
virtual function is a member function of the class.
virtual function declare with virtual keyword.
once virtual function declare in base class, we can define
this function in drive class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the three main types of variables?
What is encapsulation c#?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is interface? When and where is it used?
What is difference between oop and pop?
What is the main feature of oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What do you mean by Encapsulation?
Why do while loop is used?
What is oops in simple words?
Which is better struts or spring?
What is constructor in oop?
What is coupling in oop?
What is encapsulation with real life example?
How to hide the base class functionality in Inheritance?