println-Bug in Java

Per Bothner per@bothner.com
Wed Mar 16 16:10:00 GMT 2005


Bojan Antonovic wrote:
> So println with a char and a number (int or double) works wrong!

No. Read the specification of '+' in the Java Language Specification.
> I tested it with javac

Try again. You'll get the same result.
> Why ist his bug not fixed?

Because it's not a bug.
-- 
	--Per Bothner
per@bothner.com http://per.bothner.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /