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

What is jee6?

0 Answers  


what is main difference b/w abstract class and interface

4 Answers  


If an application has multiple classes in it, is it okay to have a main method in more than one class?

0 Answers  


Mention a package that is used for linked list class in java.

0 Answers  


What is thread pool in java with example?

0 Answers  


What is the r character?

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


What string is utf8?

0 Answers  


how to use this key word in java programming?

7 Answers  


What is return keyword in java?

0 Answers  


Explain abstract class in java?

0 Answers  


What about main() method in java ?

0 Answers  


Categories