Boolean: boolean booleanValue() (Returns the value of this Boolean object as a boolean primitive)
public class Main { public static void main(String[] args) { Boolean b1 = new Boolean(false); Boolean b2 = new Boolean("true"); System.out.println(b1.booleanValue()); System.out.println(b2.booleanValue()); } }