

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output?String str1 = "abcde";System.out.println(str1.substring(1, 3)); |
A. | bc |
B. | c |
C. | cd |
D. | bcd |
E. | one of these |
Answer» C. cd | |