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 |
Which type does string inherit from?
What is object in oop with example?
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,
what is polymorphism?
Program to check whether a word is in all capital letters
Why we use classes in oop?
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview
Why do we use virtual functions?
What is destructor example?
What is object and example?
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
What does and I oop and sksksk mean?