What is operator overloading? Give Example
Answer Posted / palsaniya sadikhasan, meta.
Operator overloading is an operator that perform different
task based on given arguments.
e.g. suppose '+' is an operator is used to add two number
and if we use '+' with two strings then operator '+' can
concate two string is known as operator overloading.
or
operator overloading means one operator can perform multiple
operation based on given arguments.
| Is This Answer Correct ? | 39 Yes | 2 No |
Post New Answer View All Answers
Can we have inheritance without polymorphism?
what's the basic's in dot net
What is encapsulation with real life example?
What is constructor in oop?
Why do we use inheritance?
What is encapsulation in oops?
How many human genes are polymorphic?
What is difference between multiple inheritance and multilevel inheritance?
Please send ford technologies placement paper 2 my mail id
What is the difference between abstraction and polymorphism?
What is encapsulation in ict?
Is oop better than procedural?
What is pointer in oop?
What is polymorphism give a real life example?
What is the full form of oops?