I've just started a Java programming class and I'm having trouble setting up an array within an array.
Example:
public class ABLoop {
int x;
ABLoop[]Loop = new ABLoop[x];
int[]numb;
public void fortime(int number){
x=number;
for(int multiplier = 0; multiplier <= x; multiplier++){
Loop[multiplier]= new Loop[multiplier+1];
For the new Loop, it keeps saying that Loop cannot be resolved to a type. Don't know what that means; can anyone offer suggestions? What I'm trying to do is for each element of Loop array, I want a new array created with elements equating to multiplier + 1.