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 |
why constructor cannt be declar virtually? why destructor cannt be overloaded?
What is abstraction and encapsulation?
Get me an image implementation program.
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
What do you mean by stack program? Get me an example stack program?
What is Hashing and how is it done? Pictorial form?
Templates mean
Why multiple inheritance is not allowed?
What are the 4 main oop principles?
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
Why we use classes in oop?
What is overloading in oops?