Answer Posted / swetcha
Method overloading occurs when a class contains two methods
with the same name, but different signatures
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why it is called runtime polymorphism?
What is persistence in oop?
Why is encapsulation used?
What are benefits of oop?
What is difference between pop and 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 overloading in oop?
Can an interface inherit a class?
What is coupling in oops?
Where You Can Use Interface in your Project
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is pure oop?
What is multilevel inheritance explain with example?
What does and I oop mean in text?
what is the drawback of classical methods in oops?