Sail E0 Webinar
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 Solution

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

More Questions on This Topic :


Latest Videos

Latest Test Papers