Home Java ref keyword byte

ref keyword byte



❮ Java Keywords

Example

byte myNum = 100;

System.out.println(myNum);



Try it Yourself »

Definition and Usage

The byte keyword is a data type that can store whole numbers from -128 to 127.

Related Pages

Read more about data types in our Java Data Types Tutorial.



❮ Java Keywords

  • Java
Previous article ref keyword boolean
Next article ref keyword case

LEAVE A REPLY

Please enter your comment!
Please enter your name!