MCQ
Single Best Answer
Not Set
QWhat will be the output?
String str1 = "abcde";
System.out.println(str1.substring(1, 3));
ID: #2217
String in Java
4,264 views
Question Info
#2217Q ID
Not SetDifficulty
String in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option B
Explanation
bc
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic