1class JavaException {
2 public static void main(String args[]) {
3 int d = 0;
4 int n = 20;
5 try {
6 int fraction = n / d;
7 System.out.println("This line will not be Executed");
8 } catch (ArithmeticException e) {
9 System.out.println("In the catch Block due to Exception = " + e);
10 }
11 System.out.println("End Of Main");
12 }
13}