Answer Posted / ravi
Virtual function is a member function of a class.whose
functionality can be overridden in is derived class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
is there any choice in opting subjects like 4 out of 7
Who invented oop?
What is overloading in oops?
What is destructor in oop?
What is abstraction with example?
What is polymorphism and types?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is object in oop with example?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is overloading and its types?
Write a program to reverse a string using recursive function?
What polymorphism means?
what type of question are asked in thoughtworks pair programming round ?
What are objects in oop?
Can we override main method?