public static void main(String args[]) { boolean b1,b2,b3; b1 = true; // Assigning Value b2 = false; // Assigning Value b3 = b2; // Assigning Variable System.out.println(b1); // Printing Value System.out.println(b2); // Printing Value System.out.println(b3); // Printing Value }