boolean Java Keyword
boolean is a Java primitive type.
A boolean variable may take on one of the values true or false.
Examples
Remarks of Boolean Keyword in JavaA boolean variable may only take on the values true or false.
A boolean may not be converted to or
from any numeric type.
Expressions containing boolean operands can contain only boolean operands.
The Boolean class is a wrapper class for the boolean primitive type.
Examples
boolean valid = true;
if (valid)
{
}
Remarks of Boolean Keyword in Java
No Comment to " Boolean Keyword in Java "