๐Ÿ’ปap computer science a review

Boolean data type

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 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: