Originally posted by Nicholas Jordan:
the orginal poster declares a byte then uses a string initializer. I would think the compiler would at least issue a warnning.
It won't. because there is two way specified in
Java Docs to initialized Byte Object.
Byte Class Constructor Summary
Byte(byte value) Constructs a newly allocated Byte object that represents the specified byte value.
Byte(String s) Constructs a newly allocated Byte object that represents the byte value indicated by the String parameter.