---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 11 Edition"
java_version: 11
chapter: "Chapter 4. Types, Values, and Variables"
section: "4.2.1"
heading: "4.2.1. Integral Types and Values"
parent: "4.2. Primitive Types and Values"
source: https://docs.oracle.com/javase/specs/jls/se11/html/jls-4.html#jls-4.2.1
id: "4.2.1"
url: https://jvm.obfuscated.software/jls/se11/4.2.1.html
raw: https://jvm.obfuscated.software/jls/se11/4.2.1.md
---

# 4.2.1. Integral Types and Values

The values of the integral types are integers in the following ranges:

- For `byte`, from -128 to 127, inclusive
- For `short`, from -32768 to 32767, inclusive
- For `int`, from -2147483648 to 2147483647, inclusive
- For `long`, from -9223372036854775808 to 9223372036854775807, inclusive
- For `char`, from `'\u0000'` to `'\uffff'` inclusive, that is, from 0 to 65535
