Question
What will be the output?
String str1 = "abcde";
System.out.println(str1.substring(1, 3));
String str1 = "abcde";
System.out.println(str1.substring(1, 3));
Answer: Option B
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 1. The String method compareTo() returns....
Question 7. How many Constructor String class have?....
Submit Solution