Which expression will extract the substring "kap" from a string defined by String str = "kakapo"?
Answers
Answered by
1
Answer:
str.substring(2, 5); should do the trick?
not too sure
Language used: Java
Similar questions