Example
java
byte myNum = 100;
System.out.println(myNum);
Definition and Usage
The byte keyword is a data type that can store whole numbers from -128 to 127.
The `byte` keyword is a data type that can store whole numbers from -128 to 127.
byte myNum = 100;
System.out.println(myNum);
The byte keyword is a data type that can store whole numbers from -128 to 127.