class Tester
{
public static void main(String args (1)
{
try
{
int c[] = { 1 };
system.out.println( c.length);
C[1] = 142;
system.out.println( "c = " + [1] );
int a = args.length;
system.out.println("a = + a).
int b = 8/a;
}
catch (ArithmeticException e)
{
System.out.println("Divide by 0: "+e);
3
Catch(ArrayIndexOutOfBoundsException e)
{
system.out.println("Array index oob: +e):
}
system.out.println("After try/catch blocks.)
?
!
Answers
Answered by
0
Answer:
it's a string array program
Similar questions