@@ -0,0 +1,486 @@
+// Demonstration boolean values.%0Aclass BoolDemo %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09boolean b;%0A%09%09%0A%09%09b = false;%0A%09%09System.out.println(%22b is %22 + b);%0A%09%09b = true;%0A%09%09System.out.println(%22b is %22 + b);%0A%09%09%0A%09%09// a boolean value can control the if statement%0A%09%09if(b) System.out.println(%22This is executed.%22);%0A%09%09%0A%09%09b = false;%0A%09%09if(b) System.out.println(%22This is not executed.%22);%0A%09%09%0A%09%09// outcome of a relational operator is a boolean value%0A%09%09System.out.println(%2210 %3E 9 is %22 + (10 %3E 9));%0A%09%7D%0A%7D%0A

Create BoolDemo.java