Are there a method to implement Java operator overloading  
Author Message
Bruce Sam





PostPosted: 2005-1-11 8:59:00 Top

java-programmer, Are there a method to implement Java operator overloading Java not like C++,it doesn't support operator overloading.For my
cursious,are there a method to simulate it?

 
klynn47





PostPosted: 2005-1-11 9:18:00 Top

java-programmer >> Are there a method to implement Java operator overloading Not exactly. But you have enough tools that you can create methods you
need to simulate the activity of the operator. Like the add method in
BigInteger.

 
anonymous





PostPosted: 2005-1-12 0:22:00 Top

java-programmer >> Are there a method to implement Java operator overloading Bruce Sam wrote:
> Java not like C++,it doesn't support operator overloading.For my
> cursious,are there a method to simulate it?
>
Thank $deity not!