

MCQOPTIONS
Saved Bookmarks
1. |
Which of these methods of class String is used to check whether a given object starts with a particular string literal? |
A. | startsWith() |
B. | endsWith() |
C. | Starts() |
D. | ends() |
Answer» B. endsWith() | |