jesus, where goes wrong in my code? please help
package en.codegym.task.pro.task05.task0504;
/*
Combining arrays
*/
public class Solution {
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 length=firstArray.length+secondArray.length;
resultArray=new int[length];
int j;
for (j=0; j<10;j++){
resultArray[j]=firstArray[j];
}
for (j=10; j<length;j++){
resultArray[j]=secondArray[j-10];
}
//write your code here
for (int i = 0; i < resultArray.length; i++) {
System.out.print(resultArray[i] + ", ");
}
}
}