Computer Science, asked by kulkarnimadhuri463, 2 months ago

an
class excep
The
program Calculates Sum of two numbers inputted as
Command - Dine arguments. when will it give . exception?
ş
public static void maio (sting args[])
{
try
int n = Integer.parselnt(args [o]) ;
int n1 - integer.parselnt(args [1]); int n2= n+ n1; system. out. println("Sum is:"+n2); } catch(NumberFromatExceptionex) { system. out. println(ex); } finally { system. out. println ("You inputted a correct integer Number" ); } } }

Answers

Answered by mcaldwell
0

Answer:

whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat

Explanation:

what is the question

Similar questions