boolean: A primitive data type that stores only true or false.
How to apply it: Use boolean to evaluate conditions in if statements and while loops.
Course: AP Computer Science A · Unit: Primitive Types
Practice questions about boolean on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.