java - why does system.out.write convert int value to char? -
suppose int b = 99
. why system.out.write(b)
print "c" instead of 99? @ same time using printwriter
actual value of b (99) if b = 'c'?
the thing system.out.write(int)
consider argument byte , write stream.
in case since passed 99
u0063
, hence c
printed.
Comments
Post a Comment