The only valid literals of boolean type are true and false. : boolean « Java Source And Data Type « SCJP






public class MainClass {
  public static void main(String[] argv) {
    boolean isTrue = true;
    boolean isFlase = false;

    System.out.println(isTrue);
  }
}








1.12.boolean
1.12.1.Boolean literals are the source code representation for boolean values.
1.12.2.The only valid literals of boolean type are true and false.
1.12.3.The default value of a boolean is false.