I have an array. We need to add several other arrays to it in order to get a view of the structure:
char[] name = {{'А','Б'},{'В','Г'}} But writing this line of code is not an option. The array is already there, you need to add arrays. How to do it and should there be "[]" or "[] []"? Thanks in advance.
char[][] arrays = new char[4][2]and then add elements in a loop - hotfix