Map / Using Objects / 8
🐞 Debug
Off the end of the String
The program should print the last letter, "r". It crashes instead. Fix the index.
- charAt()
- length()
Text size
Map / Using Objects / 8
🐞 Debug
The program should print the last letter, "r". It crashes instead. Fix the index.