What is the difference of bool and boolean? | Sololearn: Learn to code for FREE!

+16

What is the difference of bool and boolean?

1/10/2017 10:04:45 PM

Benjámin Kis

5 Answers

New Answer

+12

bool is in C++, boolean in Java. As I know, but they are the same in terms of what they do

+8

in Python its booleen too I think it just depends on the language

+4

Bool is short for boolean... I think...

+2

bool is the short term of boolean

+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’.