You have the following code.
class ExamPrep {
public static void main(String[] args){
String s = "Java";
// LINE 4
System.out.println(result);
}
}
What can you put at line 4 so that the output of the program will be av? Choose the correct answer:
A. String result = (1, 2);
B. String result = (1, 3);
C. String result = s.substring(1, 2);
D. String result = s.substring(1, 3);