Mega Code Archive

 
Categories / Java Tutorial / Statement Control
 

The else Clause

public class MainClass {   public static void main(String[] arg) {     int a = 0;     if (a == 0) {       System.out.println("in the block");     } else {       System.out.println("a is not 0");     }   } } in the block in the block