+ 2

Can someone explain to me what we mean by the boolean and his value true or false and when we use the boolean

28th Mar 2018, 9:39 PM
Aiman Aqari
Aiman Aqari - avatar
4 Réponses
+ 4
Boolean is basically the answer to a yes or no question. For instance, if you’re making a game and have a Boolean isJumping, you’re asking if the character is jumping. If it’s true, he is jumping and if it’s false, he’s not
28th Mar 2018, 9:46 PM
Ariela
Ariela - avatar
+ 2
boolean is a data type in java. it can have a true or false value. you can use it in evaluation of questions answerable by true/false, yes/no...
29th Mar 2018, 12:45 AM
Heji Palaña
Heji Palaña - avatar
0
thank you so much
28th Mar 2018, 9:48 PM
Aiman Aqari
Aiman Aqari - avatar
0
Boolean Logic Boolean logic is used to make more complicated conditions for if statements that rely on more than one condition. Python's Boolean operators are and, or, and not. The and operator takes two arguments, and evaluates as True if, and only if, both of its arguments are True. Otherwise, it evaluates to False.
23rd Apr 2018, 7:52 PM
Luther Conley