why java does not have operator overloading?

Answers were Sorted based on User's Feedback



why java does not have operator overloading? ..

Answer / 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

why java does not have operator overloading? ..

Answer / ashwini kumar vatsa

There are no concept of :: sign in java so
there is no concept of operator overloading.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Core Java Interview Questions

If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

0 Answers  


What is the Scope of Static Variable?

0 Answers   Verifone,


Can we write a class without main method in java?

0 Answers  


Which class should you use to obtain design information about an object in java programming?

0 Answers  


What is the difference between JDK and JVM?

0 Answers  






How to Sort list of Strings in ascending order without using java api.

1 Answers   HCL, NIIT,


what is difference between colection and collections?

25 Answers   Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,


Explain about member inner classes?

0 Answers  


Can we create object of static class?

0 Answers  


What is mnemonic in assembly language?

0 Answers  


Explain with example the concept of constant variable in java.

0 Answers   HCL,


What is an abstract class?

7 Answers   DBS, Wipro,


Categories