why java does not have operator overloading?

Answer Posted / ganesh

internally java also supports operator overloading
+operator is overloaded to add integers and strings also so
oo support by java itself bt not by a programmer

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can there be an abstract method without an abstract class?

730


What is the difference between the final method and abstract method?

781


What is difference in between java class and bean?

796


What are abstract methods in java?

879


What is java used for?

775


What is the escape character in java?

732


What is generic type?

795


explain the concept of virtual method invocation in polymorphism in detail?

1936


From the two, which would be easier to write: synchronization code for ten threads or two threads?

821


What is constructor chaining and how is it achieved in java?

786


What are implicit objects in java?

750


How do you override a method?

737


What is string data type?

747


What is the difference between a scrollbar and a scrollpane?

806


Is java platform independent?

765