What is the difference of bool and boolean? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 16

What is the difference of bool and boolean?

10th Jan 2017, 10:04 PM
BenjƔmin Kis
BenjƔmin Kis - avatar
6 Respostas
+ 12
bool is in C++, boolean in Java. As I know, but they are the same in terms of what they do
11th Jan 2017, 12:34 AM
Filip
Filip - avatar
+ 8
in Python its booleen too I think it just depends on the language
13th Apr 2017, 1:34 PM
Hasan Fares
Hasan Fares - avatar
+ 4
Bool is short for boolean... I think...
10th Jan 2017, 10:10 PM
ein siedler
ein siedler - avatar
+ 2
bool is the short term of boolean
20th Apr 2017, 8:20 PM
Stephcyrille
Stephcyrille - avatar
+ 2
Semantically, nothing. They both MEAN the same thing, a data type of true or false. However, syntactically, everything is different about it. Every programming language READS our code differently. One program may be set up to expect the keyword ā€˜boolā€™ and another ā€˜booleanā€™.
23rd Jul 2017, 2:46 AM
Makey
Makey - avatar
28th Apr 2024, 11:51 AM
zahra oveyedzade
zahra oveyedzade - avatar