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
A boolean attribute is an attribute that can have one of two values - true or false. It represents binary states such as on/off, yes/no, or true/false.
Related terms
Attribute: An attribute is a characteristic or property associated with an object or entity. In programming, attributes store data related to objects.