You're welcome, but I don't think there's anything wrong with your memory. If my summary of Java array characteristics is not something you just know, even with an absence of a few months, then...
Type: Posts; User: GregBrannon
You're welcome, but I don't think there's anything wrong with your memory. If my summary of Java array characteristics is not something you just know, even with an absence of a few months, then...
Java arrays are zero-based. An array that holds 10 elements has indices 0 - 9. The same array has length 10. The error is the '<=' sign. If this is news to you, review Java arrays.
This is the mistake:
for (int i = 0; i<=word.length(); i++){
I know you know better.