What is the result of the following code?
int total = 0; StringBuilder letters = new StringBuilder("abcdefg"); total += letters.substring(1, 2).length(); total += letters.substring(6, 6).length(); total += letters.substring(6, 5).length(); System.out.println(total);
E.
letters.substring(6, 5) indexes in reverse order and causes a StringIndexOutOfBoundsException.