What is operator overloading? Give Example
Answer Posted / msn
Making an operator doing different operation other than
the normal one is termed as operator overloading..
Say for example Operator + is normally used to add numbers
but we can add another function concatenate two strings
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What type of loop is a for loop?
Can we create object of abstract class?
2. Give the different notations for the class.\
What is the real time example of inheritance?
What is the importance of oop?
Templates mean
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Whats oop mean?
What is multilevel inheritance?
What is constructor in oop?
Why do we use encapsulation in oops?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is the full form of oops?
Can main method override?
What is encapsulation and abstraction? How are they implemented in C++?