Answer Posted / bijal
The virtual function can be allowed in base classes only.
The functions markd Virtual will only be overridable in
derieved classes.
If i m having a function in base class that shud come in
derieved class but i want it to have different behaviour.
This can only be acheived only if base class function is
virtual function.
| Is This Answer Correct ? | 23 Yes | 8 No |
Post New Answer View All Answers
Please send ford technologies placement paper 2 my mail id
What is oops and its features?
How do you achieve runtime polymorphism?
Which is not an object oriented programming language?
Why is static class not inherited?
Is html an oop?
What is new keyword in oops?
What is variable example?
What is oops with example?
What are benefits of oop?
How many human genes are polymorphic?
Who invented oop?
What is the difference between a mixin and inheritance?
Why is object oriented programming so hard?
What is encapsulation oop?