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 the oops and benefits of oops programming?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is interface in oop?
write string class as your own class in java without using any built-in function
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is difference between pop and oop?
What is coupling in oop?
How do you answer polymorphism?
What is static in oop?
Write a program to sort the number with different sorts in one program ??
What do you mean by abstraction?
Can static class have constructor?
What is the difference between static polymorphism and dynamic polymorphism?
What is an interface in oop?
What do you mean by overloading?