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 |
Write A Program using Single and Multiple Inheritance.
How many types of access specifier in c# and vb.net?
Can an interface inherit a class?
What are the important components of cohesion?
What are the advantages of inheritance?
26 Answers IBS, TCS,
What is overriding vs overloading?
Explain virtual inheritance?
What are the components of marker interface?
What is difference between polymorphism and inheritance?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
2. Give the different notations for the class.\
What is the importance of oop?