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
0
Answer:
whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat
Explanation:
what is the question
Similar questions
Computer Science,
1 month ago
India Languages,
1 month ago
Math,
2 months ago
Computer Science,
2 months ago
Chemistry,
10 months ago
Hindi,
10 months ago