I am getting different output in each run of my program. When executed first time, it gives
When executed again, it
Please tell me why it is occurring.
public class TwoExcepProg {
public static void main(String[] args) {
try
{
int a = 50/0;
}
finally
{
System.out.println("finally block is called");
}
}
}