+ 1
What is Boolean?
3 Answers
+ 11
A Boolean expression is a Java expression that, when evaluated, returns a Boolean value: 'true' or 'false'.
â A 'boolean' type can have one of two values: 'true' or 'false'.
A 'boolean' is used to perform logical operations, most commonly to determine whether some condition is 'true'.
âą Boolean expressions are used in conditional statements, such as 'if', 'while', and 'switch'.
https://code.sololearn.com/WHv1hxlN7Dhf/?ref=app
+ 1
a boolean has two outputs
True and false
I also had the same problem a while ago!
+ 1
I dont think a Boolean is a only in Java cause in my python course i had a boolean topic.
So i think its just an expression that when evaluated it give the true or false value