Answer Posted / sree
virtual function comes into picture while inheriting the
base class functions to the derived class functions.
ifthe virtual isnot used then the pointer of derived class
points to the baseclass function
Is This Answer Correct ? | 28 Yes | 1 No |
Post New Answer View All Answers
What is a class oop?
What is interface in oop?
What is the highest level of cohesion?
What is difference between class and object with example?
What is class and example?
What does sksksk mean in text slang?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
what type of question are asked in thoughtworks pair programming round ?
Which language is not a true object oriented programming language?
What is the real time example of inheritance?
Why is polymorphism needed?
Can we override main method?
What is the diamond problem in inheritance?
What is cohesion in oop?
How oops is better than procedural?