Discussion Forum : Strings
Question - What will be the output?
String str1 = "abcde";
System.out.println(str1.substring(1, 3));
Options:
A .  abc
B .  bc
C .  bcd
D .  abcd
E .  None of these
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *