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 |
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
Why do we use class in oops?
what is function over loading?
How to hide the base class functionality in Inheritance?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
How does polymorphism work?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
what type of questions
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
Can main method override?