Answer Posted / mona kawale
when there are two same classes in derived and base class then at the tym of running programm compiler get confuse about which function should b call first so it call derived class function automatically....but if we wrote base class function as virtual function then compiler will not get confuse.....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are two types of polymorphism?
write a C++ program for booking using constructor and destructor.
When not to use object oriented programming?
Why is oop better than procedural?
What are the benefits of oop?
What is super in oop?
what is difference between class template and template class?
How do you answer polymorphism?
What is byval and byref? What are differences between them?
Can static class have constructor?
What is persistence in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
class type to basic type conversion
Why do we use class?
What is oops with example?