I have an array of strings which I create using:
String[] tmp = new String[10];
int i = 0;
while (input.hasNextLine()){
tmp[i++]=input.nextLine();
}
This creates the following array:
[eoksibaebl, ropeneapop, mbrflaoyrm, gciarrauna, utmorapply, wnarmupnke, ngrelclene, alytueyuei, fgrammarib, tdcebykxka]
Now lets say I want to access the third letter (k) of the first string (eoksibaebl) and assign it to another variable, how would I do that?
What my end aim is to do is to take all the letters and assign them to a 2d character array (char[N][N]).
If anyone can help me do that I'd appreciate it.