Which expression will extract the substring "cde" given the following…
PYQ RPSC Programmer 2013
Which expression will extract the substring "cde" given the following declaration String str = "abcdef"
- A.
str.substring(2,2)
- B.
str.substring(2,3)
- C.
str.substring(2,4)
- D.
str.substring(2,5)
Attempted by 5 students.
Sign up free to check your answer
Sign up freeLoading lesson…

