A Boolean data type can take on only one of the literal values, true or false. For example,
boolean Credit = true;
if (Credit)
{
System.out.println(''Customer credit is good");
}
boolean Credit = true;
if (Credit)
{
System.out.println(''Customer credit is good");
}
No comments:
Post a Comment