for exemple if I have a lot of variables var1,var2,var3,.... how can i manipulate them easily using an index i
for(int i=1,i<n;++i)
System.out.print(vari);
I know that it's not correct but I wanna know if there is a possibility to manipulate variables in this manner