public class MainClass {
public static void main(String args[]) {
Boolean booleanObject = true;
if (booleanObject){
System.out.println("b is true");
}
Character ch = 'x'; // box a char
char ch2 = ch; // unbox a char
System.out.println("ch2 is " + ch2);
}
}
b is true
ch2 is x