What is a Boolean | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a Boolean

12th Dec 2016, 8:03 PM
Dob102999
Dob102999 - avatar
4 Answers
+ 4
is a variable type, that only can store 'true' or 'false'. It's help in logic operations
12th Dec 2016, 8:10 PM
Nahuel
Nahuel - avatar
+ 3
A boolean is a data type possessing two values of: True or False.
12th Dec 2016, 8:15 PM
JENN
JENN - avatar
+ 1
A boolean type is a data type that can have only one of the two data types. It will either be true or false or it has to be a 0 or 1.
16th Dec 2016, 8:50 PM
Sam Dadhwal
Sam Dadhwal  - avatar
0
thanks
12th Dec 2016, 8:26 PM
Dob102999
Dob102999 - avatar