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
Can we create object of interface?
Can enum be null?
State what is encapsulation and friend function?
What is polymorphism and example?
What is overriding in oops?
What is overloading in oops?
What does and I oop mean in text?
What is class in oop with example?
How is class defined?
Can we override main method?
What is encapsulation in ict?
What is abstraction with example?
what type of question are asked in thoughtworks pair programming round ?
What is the difference between static polymorphism and dynamic polymorphism?
Can private class be inherited?