Consider the following code segment:
public static String mystery(String word, int i, int ;) { String mystery - word.substring(i, i+ 1); mystery += word.substring(i, j); return mystery } Which of the following is the most appropriate precondition for the variable 1 in mystery so that substring does not throw an exception? Precondition: i >= 0, i <= word.length, i s-j. Precondition: 1 > 0.1< word.length, I -0,1 < word.length, i <= 1. Precondition: >0,1 <= word.length. Precondition:i>-0,1 < word.length, i>i