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

What is a Boolean

25th May 2019, 8:12 AM
Daniel Svobodin
Daniel Svobodin - avatar
12 Answers
+ 17
Boolean is a wrapper class of java.lang package....which wraps the value of primitive data type boolean in an object. Boolean contains two value true (1) and false (0) Boolean b = (Boolean) object. https://www.google.com/amp/s/www.geeksforgeeks.org/java-lang-boolean-class-java/amp/ check this link to get more information.
26th May 2019, 4:53 AM
A͢J
A͢J - avatar
+ 10
Boolean used to say only true or false (1 or 0)
25th May 2019, 9:36 AM
M.MANIVANNAN
M.MANIVANNAN - avatar
+ 9
Well Boolean means to decide whether something is true or false. There are 2 types of bool expressions : 1 is true 0 is false Well more easily Class bool: part 1 : True part 2 : False Thanks
25th May 2019, 9:10 AM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 5
In Python there are two Boolean values: true and false created by comparing values using the equal to operator== that display True if the statement is true. Also using the not equal to operator!= Evaluating to true if the items being compared aren't equal, False if they are. Also display True or False when a statement using >, <, =<, or =>
25th May 2019, 6:44 PM
Hussein Ali
Hussein Ali - avatar
+ 5
True/False OR 1/0 (bitwise) 😶
26th May 2019, 2:53 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 5
The concept is the cornerstone of computer technology. It is what the technology DIGITAL, not analog.
26th May 2019, 3:58 AM
Da2
Da2 - avatar
+ 3
It's a type of variable that can either be True or False.
25th May 2019, 8:15 AM
Roel
Roel - avatar
+ 3
Thank you!
25th May 2019, 8:16 AM
Daniel Svobodin
Daniel Svobodin - avatar
+ 2
A data type named after George Boole.
27th May 2019, 6:04 AM
Sonic
Sonic - avatar
+ 2
just true or false which is specified by 0(false) or 1(true) with the help of conditional operators.(<,>,=).
27th May 2019, 6:56 AM
Arnold Pandian
Arnold Pandian - avatar
+ 2
AND / OR / NAND / NOR is also part of Boolean Logic T and T = T is an example. Check out https://en.m.wikipedia.org/wiki/Logic_in_computer_science
27th May 2019, 9:48 PM
Da2
Da2 - avatar
+ 1
I kinda struggle with multiple T/F. For example, False and False. They are false themselves but its true that they both are false. Could somebody give some hint about perspective of programming logic?
27th May 2019, 8:11 PM
Evita
Evita - avatar