There is a primitive type in Java that tells the truth and nothing but the truth. It's called boolean.
boolean
Exactly! A boolean-type value can only be true or false.
true
false
Whoops! That might sound right, but it's actually even more straight forward.