Sesion Ses

Greenhorn
+ Follow
since Feb 12, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sesion Ses

Hi everybody, i have a question.

This is the code from book. And I do not understand why in this case it shows 1 error even though there are two.
a: 0
divide by zero: java.lang.ArithmeticException: / by zero
After try/catch block


Although if we change a, we will get another result that ignores the first.
a: 1
Array index oob: java.lang.ArrayIndexOutOfBoundsException: 43
After try/catch block

What happens to error number 1 or 2?

Thank you in advance.
5 days ago