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 pure oop?
Explain the advantages of inheritance.
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why do we use class?
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
write knight tour problem which is present in datastructure
What is coupling in oops?
What are the benefits of oop?
What is encapsulation and abstraction? How are they implemented in C++?
How many human genes are polymorphic?
Which is not an object oriented programming language?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Why is encapsulation used?
when to use 'mutable' keyword and when to use 'const cast' in c++
Why multiple inheritance is not possible?