I am trying to connect variables and strings of text together. My IDE keeps saying it is invalid....
for(int i = 0;i <=7; i++)
{
String chick;
chick = "game "+i+1+": " + catalog[i]".\n";
System.out.println("Game"+ i+1+": "+ catalog[i]".\n"); // catalog is a array that
// holds data.... these are also all the same strings just tried to use differently.
System.out.println("Game"+ i+1+": "+ catalogp[i]".\n");
}
I think that its the way I'm trying to concatenate the code...