So I might already have an answer for this but if I have a 2d array is there anyway to have a spot be in array that can change sizes and content?
If not, how could I go about this? Can lists do this? If so how. (I’m not great with lists.
Example:
int [] changingArray;
int [][] test = new int[][]{
new int[]{0,1,2,3,changingArray,5,6,7},
new int[]{0,1,2,3,changingArray,5,6,7}
}
and then later assign changingArray to different array size and content depending on input
the goal is to have something read the array 1,2,3,etc,,, plus the changingArray as well