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
What are oops functions?
What is the difference between encapsulation and polymorphism?
any one please tell me the purpose of operator overloading
What is meant by multiple inheritance?
What is object in oops?
What are two types of polymorphism?
What is coupling in oop?
Get me a number puzzle game-program
What is polymorphism and why is it important?
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.
How long to learn object oriented programming?
What are the features of oop?
What is class and object in oops?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Why is destructor used?