package task6; public class Task6 { public static void main(String args []) { try { int n = Integer.parse1nt(args[0]); int n1 = Integer.parseint(args[1]); int n2 = n+n1; System.out.println("Sum is " + n2); } catch(ArithmeticException ex) { System.out.println("ArithmeticException :"+"ex.getMessage()"); } catch(NumberFormatException ex) { System.out.println("Format Exception:" + "ex.getMessage()"); } catch(Exception ex) { System.out.println("Exception : " + "ex"); } } }
need you guys help with the correction of my java coding... I am kinda lost right now