I am making a bunch of circles with different parameters. Each circle is a separate instance. For example, c1 has a radius equal to 10, x coordinate of 250, etc. I don't know how many circles I will have and it can change. I'm just learning Java, so I don't know how to use a lot of things. I was hoping there was a way to automatically increment the name, so there would be c1, c2, c3, etc.
The way I have it set up is like this:
While(i>=0)
{
Circle c1 = new Circle();
cl.radius = 10;
cl.x = 250;
i--;
}
The numbers (250, 10) aren't set either. Those are randomly generated, so I wouldn't be typing all of that out