EXCEPTION HANDLING PROGRAM: class sample { public static void main(Strig str[]) { int sum=0; System.out.println("the command line argument is "); for(int i=0;i<str.length;i++) System.out.println(str[i]+" "); try { for(int i=0;i<str.length;i++) sum=sum+Integer.parseInt(str[i]); System.out.println("the sum is"+sum); } catch(NumberFormatException e) { System.out.println(e.getMessage()); } System.out.println("Program terminatiom"); } }