Exit Method in Java

class ExitMain
{
public static void main(String []a)
{
System.out.println(Exit method.....);
System.exit(0);
System.out.println(this line is not reached...);
}
}


Output:
Exit method.....