The Source for Java Technology Collaboration


Home | Help | Changes | Index | Search | Go

byte

The byte primitive represents an 8 bit signed integer. The Byte object is a wrapper class for byte.

Rules

  • A byte can range in value from -27 to 27-1.
  • A byte can be converted to a short, int, long, float or double without loss of information. This is known as a widening primitive conversion.
  • A byte cannot be converted to a boolean.



Discussion about byte

Topic BytePrimitive . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 31 Aug 2003 - 03:35:00 - Main.redwolf
Parents: Byte