ошибка Index 10 out of bounds for length 10. но где вышел за пределы не пойму
public static int[] firstArray = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
public static int[] secondArray = new int[]{10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
public static int[] resultArray;
public static void main(String[] args) {
//напишите тут ваш код
int f = firstA В Intellij IDEA решается, но не проходит условие 4.И я так понимаю, я правильно решила проблему ArrayIndexOutOfBoundsException, дав a = 1, а не 0?
package com.javarush.task.pro.task05.task0504;
/*
Объединяем массивы
*/
public class Solution {
public static int[] firstArray = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
public static int[] se