Data Type Java Tutorial

Variables of type boolean can have only one of two values, true or false.
The values 'true' and 'false' are boolean literals.

public class MainClass{
  public static void main(String[] arg){
    boolean state = true;
    state = false;
    System.out.println(state);
  }
}
false