5.7.3.Use an else block to execute code that is executed under the conditions that the test returns false.
public class MainClass { public static void main(String[] argv) { int x = 6; if (x > 5) {
System.out.println("x is more than 5");
} else {
System.out.println("x is not more than 5");
}