Why does the String method call s.substring(i, j) return the substring of s starting at index i

Question:

Why does the String method call s.substring(i, j) return the substring of s starting at index i and ending at j-1 (and not j)?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: