Java - Data Types boolean type

What is boolean type

The boolean data type has only two valid values: true and false.

true and false are called boolean literals.

A boolean variable cannot be cast to any other data type and vice versa.

boolean done; // Declares a boolean variable named done 
done = true;  // Assigns true to done