What is virtual function?where and when is it used?
Answers were Sorted based on User's Feedback
Answer / reshma khan pathan
In object-oriented programming, a virtual function is a
function whose behavior can overridden by a function of
same signature of inherited class.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vijaya lakshmi
virtual memory used as a temporary memory.it mainly
used to store a another variable value.
| Is This Answer Correct ? | 3 Yes | 2 No |
How do you define a class in oop?
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
what type of question are asked in thoughtworks pair programming round ?
what is the difference between class and object?
What is the purpose of enum?
What is the difference between declaration and definition?
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
Why is static class not inherited?
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.
write string class as your own class in java without using any built-in function
write a program to find 2 power of a 5digit number with out using big int and exponent ?