package javaapplication1;
public class JavaApplication1 {
public static void main(String[] args) {
try {
boolean b = true;
if (b)
System.out.println("true");
b = false;
if (b)
System.out.println("true");
else
System.out.println("false");
if (!b)
System.out.println("true");
} catch (Exception e) {
System.out.print(e.toString());
}
}
}
/*
run:
true
false
true
*/