What is operator overloading? Give Example
Answer Posted / kalai391989
operator overloading is a function..
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Why is polymorphism needed?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Can you name some types of inheritance?
why reinterpret cast is considered dangerous?
What is difference between data abstraction and encapsulation?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
How do you achieve runtime polymorphism?
What do you mean by abstraction?
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
Explain the advantages of inheritance.
Where You Can Use Interface in your Project
explain sub-type and sub class? atleast u have differ it into 4 points?
What are the 3 pillars of oop?
Can abstract class have normal methods?
What is overloading in oops?