[HD-OCP17/21-Fundamentals Pg 265, Sec. 11.1.6 - manipulating-strings]
Posted: Wed Jan 01, 2025 10:00 am
Furthermore, any method that attempts to access an index that is beyond the range of this array throws IndexOutOfBoundsException.
so basically all String methods throw IndexOutOfBoundsException except substring() which throws StringIndexOutOfBoundsException ?
so basically all String methods throw IndexOutOfBoundsException except substring() which throws StringIndexOutOfBoundsException ?