Mega Code Archive
Boolean class creates primitives that wrap themselves around data items of the boolean data type
class MainClass {
public static void main(String[] args) {
boolean b = true;
Boolean b2 = new Boolean(b);
System.out.println(b2.booleanValue());
}
}