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 |
Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.
What is data binding?
why freind function takes more parameter than normal member function in c++?
how to swap the variables without using temp and operators
why we are declare the function in the abstract class even though we are declaring it in Derived class?
what is mean by design pattern
Program to check whether a word starts with a capital letter or not.
what is ltti
Which is not an object oriented programming language?
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined
Why is oop useful?
What does enum stand for?