< Java Programming < Keywords 
      byte is a keyword which designates
the 8 bit signed integer primitive type.
The java.lang.Byte class is the nominal
wrapper class when you need to store a byte value
but an object reference is required.
Syntax:
byte <variable-name> = <integer-value>;For example:
|  | byte b = 65;
 | 
or
|  | byte b = 'A'
 | 
; The number 65 is the code for 'A' in ASCII.
See also:
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.