News

Generic method: square is a static method defined with a generic type T that is bounded by the Number class. This means T can be any class that extends Number (like Integer, Double, Float, and so on).
Java generics are the exciting new feature of Java 5 (renamed from J2SE 1.5) due for release shortly. Much controversy surrounds generics. In fact, Sam Pullara suggests that generics are just a ...