New To Java - for loop

I have to input several things from keyboard and put them in different BigInteger

So I wanted to use the i from my for loop to name my variables :

BigInteger N1,N2,N3...

for (int i=1; i<7;i++){

...

si=k.getInput("Entrer N"i" >");

Ni=new Biginteger(si);

}

Well it doesn't work but I'm not surprised, I tried with $i too bu doesn't change anything. What can I use to do what I want here?

I can just write 6 times almost the same thing but I'd prefer not...

[553 byte] By [Hydexa] at [2007-11-26 23:31:00]
# 1
Use an array or ArrayList to hold your 6 BigIntegers
Settera at 2007-7-10 14:42:31 > top of Java-index,Java Essentials,New To Java...
# 2
lol, that was easy that way xD
Hydexa at 2007-7-10 14:42:31 > top of Java-index,Java Essentials,New To Java...