Answer Posted / k.senthil arasur sathyamangala
overloading:Two function have same name and same return type
but different type of arguments used.
overriding:Two function have same name and same arguments
used but that function defined in a base class redefined in
a derived class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the three main types of variables?
How do you explain polymorphism?
what is difference between class template and template class?
How to hide the base class functionality in Inheritance?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is constructor overloading in oop?
What is persistence in oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Can enum be null?
What does no cap mean?
What is destructor in oop?
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 difference between oop and pop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Is html an oop?