public class Exc { public static void main(String args[]) { int x1=0; try { int x3= 100/x1; } catch(ArithmeticException e)…
public class Exc { public static void main(String args[]) { int x1=0; try { int x3= 100/x1; } catch(ArithmeticException e)…