boolean is a Java primitive type.
A boolean variable may take on one of the values true or false.
Examples
boolean valid = true;
if (valid)
{
<statement>
}
A boolean variable may take on one of the values true or false.
Examples
boolean valid = true;
if (valid)
{
<statement>
}
Comments
Post a Comment