Start learning →

Which backward search routine does lastIndexOf mirror?

Alstrip
Bsubstr
Crfind
Dstrlen
Answer & Solution
Correct answer: C. rfind
The lastIndexOf method corresponds to an rfind operation scanning from the end.
Practise this question with Quill — ICSE Class 10 →

Keep practising String Handling and Wrapper Classes

Browse all String Handling and Wrapper Classes questions for ICSE Class 10, or explore more Computer Applications topics.

Start a String Handling and Wrapper Classes lesson →