Create Boolean from boolean value


public class Main {
  public static void main(String[] argv) throws Exception {
    Boolean refBoolean = new Boolean(true);
    boolean bool = refBoolean.booleanValue();
  }
}
Home 
  Java Book 
    Runnable examples  

Data Type Boolean:
  1. Create Boolean from boolean value
  2. Convert Boolean to boolean value
  3. Convert Boolean to String