Please enable JavaScript to use CodeHS

CodeHS Glossary


IndexOutOfBoundsException Java

A String object has index values from 0 to length – 1. Attempting to access indices outside this range will result in this error.