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
can inline function declare in private part of class?
Can abstract class have normal methods?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is polymorphism and types?
What is oops and why we use oops?
What is oops in simple words?
What makes a language oop?
What is solid in oops?
What is class and object in oops?
What is multilevel inheritance?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
How do you define a class in oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What are the components of marker interface?
What is the full form of oops?