You're right! Still out of bounds error though after fixing!!
--- Update ---
Wait ignore last post, it worked! Thank you so much
Type: Posts; User: amf19
You're right! Still out of bounds error though after fixing!!
--- Update ---
Wait ignore last post, it worked! Thank you so much
I still get the same error - out of bounds exception
I've tried putting an if statement in, but that doesn't seem to work:
char[] charArray = text.toCharArray();
char[][] myArray = new char[x][y];
int nextChar = 0;
for (int a = 0; a...
ah, thank you.. that makes sense. Still unsure as to how I would go about fixing this though?
Hi there,
I am new to java and am having trouble with some code... I am trying to input the characters from a string into a 2d array. The array size depends on the amount of characters in the...