by specifying ArithmeticException still not verified. Please point out any mistake.
package com.codegym.task.task09.task0907;
/*
Exception when working with numbers
*/
public class Solution {
public static void main(String[] args) throws ArithmeticException {
//write your code here
try {
int a = 42 / 0;
}
catch(ArithmeticException e){ //write your code here
System.out.println(e);
}
}
}