Byte Keyword in Java

Compiled By Unknown - No Comments
Byte is a Java primitive type. A byte can store an integer value in the range [−128, 127]. Examples
byte b = 124;

Remarks Byte Keyword in Java
  • The Byte class is a wrapper class for the byte primitive type.
  • It defines MIN_VALUE and MAX_VALUE constants representing the range of values for this type.
  • All integer literals in Java are 32−bit int values unless the value is followed by l or L as in 235L, indicating the value should be interpreted as a long.

  • Tags:

    No Comment to " Byte Keyword in Java "