The Byte Data Type


The byte datatype is a built in type. A byte may be declared as shown below.

my_byte = 'b'
my_byte.println()

The byte is printed to the console using the method println()

The byte type is a signed integral type. The standard operators apply to the byte datatype.