Boolean

Boolean is a type that allows variables to have the values  and , and is therefore used to represent truth. Control statements such as,  , and   accept boolean expressions, which they use to decide whether or not they will execute their bodies. Booleans are operated on by the logic operators.