what is virtual function?
Answer Posted / susanta samal
virtual function is used to prevent from more times
calling.That means if a function is declared as virtual
then its def will be diferent in base class & derived class
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
Why is polymorphism used?
Why is polymorphism important in oop?
What is polymorphism and its types?
What is the real time example of inheritance?
Is oop better than procedural?
What is a class oop?
What are properties in oop?
can inline function declare in private part of class?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why do while loop is used?
What is overloading in oop?
What is overloading and its types?
Can main method override?
Who invented oop?
Is enum a class?