logo

Crowdly

Millised read väljastatakse ekraanile? int[] a = {1, 0}; int b = 0; try { ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Millised read väljastatakse ekraanile?

int[] a = {1, 0};

int b = 0;

try {

   try {

       b = a[3];

       System.out.println("Vahel");

   } catch (ArrayIndexOutOfBoundsException e) {

       System.out.println("Esimene püünis");

   }

   b = 1/a[1];

} catch (ArithmeticException e) {

   System.out.println("Teine püünis");

} finally {

   System.out.println("Epiloog");

}

System.out.println("Pärast");

0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!