logo

Crowdly

Browser

Add to Chrome

Фрагмент кода, описаний нижче визиває помилку: int[] a = new int[] {1,2,3};...

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

Фрагмент кода, описаний нижче визиває помилку:

int[] a = new int[] {1,2,3};

int[] b = new int[a.length];

b[4] = 4;

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:

4                                          

        at

Main.main(Main.java:14)

 Що вона позначає?

❌
❌
✅
❌
❌
More questions like this

Want instant access to all verified answers on iekportal.com.ua?

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

Browser

Add to Chrome