...with the '+' operator?
Java is not C++; Java is much more clumsy than that: the Number class is the
abstract superclass of many classes that implement the 'add' operator but one
has to use the 'instanceof' operator or deal with 'ClassCastExceptions' in order
to just add two Numbers. Don't blame me, I didn' invent that language ;-)
Of course for primitives Java behaves like a full blown programming language and
that '+' operator is implemented for convenience.
kind regards,
Jos