Why Operator Overloading is not supported in Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 12659
Total Votes: 143 votes
Category: JAVA/Core JAVA
Submitted on: 2011-09-01 13:52:15
Submitted By: Javin Paul
Description:Form JVM perspective supporting operator overloading is more difficult and if the same thing can be achieved by using method overloading in more intuitive and clean way it does make sense to not support operator overloading in java. a complex JVM will result in slower JVM than a relatively simpler JVM and reduce the opportunity of optimization by taking out guaranteed behavior of operators in java. More detail...