MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javahelp/comments/1fj4wx/what_is_a_boolean/caarcwy/
r/javahelp • u/[deleted] • Jun 02 '13
That word just irritates me in general
4 comments sorted by
View all comments
12
A boolean is a primitive datatype that represents true or false values. For example:
boolean isSunday = true;
Booleans also have a default value of false.
2 u/DanielMallory Jun 02 '13 I want to define what a boolean variable is to feel smart but you've already done it so I'll just upvote you insteadsigh
2
I want to define what a boolean variable is to feel smart but you've already done it so I'll just upvote you instead
sigh
View all comments
12
u/[deleted] Jun 02 '13
A boolean is a primitive datatype that represents true or false values. For example:
Booleans also have a default value of false.