Overloading in Java is Groovy
Many developers who started out using C++ will admit some nostalgia for overload operators such as + and -. The Java language has banned operator overloading, but upstart Groovy says "bring it on!" Find out what you've been missing all these years. This article introduce you to Groovy's support for operator ad-hoc polymorphism, also known as operator overloading. As any C++ developer will tell you, this stuff is both handy and fun, although it should be approached with a healthy dose of caution.
(Submitted by Anonymous Sun Oct 30, 2005 )
Our content can be syndicated: Main page Mac Page
Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author