What is operator overloading? Give Example
Answer Posted / riya piyush jain
Operator overloading (less commonly known as operator ad-
hoc polymorphism) is a specific case of polymorphism in
which some or all of operators like +, =, or == have
different implementations depending on the types of their
arguments. Sometimes the overloadings are defined by the
language; sometimes the programmer can implement support
for new types.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is a function in oop?
What is abstraction in oop with example?
Is abstract thinking intelligence?
What is multilevel inheritance explain with example?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why do we use polymorphism in oops?
What is ambiguity in inheritance?
When not to use object oriented programming?
What is oops with example?
What is the full form of oops?
What is a class and object?
What is purpose of inheritance?
What is abstraction with example?
What is polymorphism and its types?
What is polymorphism oop?