Data Type: Boolean

The boolean data type can store only two values, which are expressed using the Java reserved words true and false, as shown in the table below. Booleans are typically used for decision making and for controlling the order of execution of a program. Here are examples of declarations of boolean variables:

Screen Shot 2018-12-10 at 8.38.32 AM

So behind the declaration of the boolean variables you see above which contains the identifiers: isEmpty, mindful, compassionate, and the type: boolean, you should realize that there is only the storing of 1 and 0: true and false.