What is virtual Function.
Answer / poonam
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
Is This Answer Correct ? | 7 Yes | 0 No |
What are main features of oop?
What is constructor in oop?
what do you mean by static member variable?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,
create a c++ program that will ask 10 numbers and display their sum using array.
can you give real time example for polymarphism
Explain virtual inheritance?
how to write a java program for an output ****0 ***01 **012 *0123 01234
3. Differentiate verification and validation.
Why many objects can working together? How objects working togetherM I want to see example code.
How do you make derived class as an abstract class?