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 vector have duplicates in java?

499


How to display arraylist values in java?

479


What is the mapping mechanism used by java to identify IDL language?

584


What is the Difference between Final Class && Abstract Class?

613


What is data member in java?

495






What is the purpose of file class?

539


What is the use of generics? When was it added to the Java development Kit?

551


Which is bigger float or double java?

515


What is the final class modifier?

551


what is the purpose of "virtual"?

562


What is string in java? String is a data type?

569


What are the two types of exceptions in java? Which are the differences between them?

503


What is the driver class?

565


Java is pass by value or pass by reference? Explain

528


What is flush () in java?

550