💻ap computer science a review

Boolean data type

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The boolean data type in Java represents one of two possible values - true or false. It is commonly used for conditions and decision-making in programming.

"Boolean data type" also found in:

2,589 studying →