Java Data Type Tutorial - Boolean Example








Field

  1. Java Boolean FALSE
  2. Java Boolean TRUE

Constructor

  1. Java Boolean(boolean value) Constructor
  2. Java Boolean(String s) Constructor




Method

  1. Java Boolean.booleanValue()
  2. Java Boolean.compareTo(Boolean b)
  3. Java Boolean.equals(Object obj)
  4. Java Boolean.getBoolean(String name)
  5. Java Boolean.hashCode()
  6. Java Boolean.parseBoolean(String s)
  7. Java Boolean.toString()
  8. Java Boolean.toString(boolean b)
  9. Java Boolean.valueOf(boolean b)
  10. Java Boolean.valueOf(String s)