Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?
A. StartsWith()
B. EndsWith()
C. Starts()
D. ends()
Answer:A
Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?
A. StartsWith() B. EndsWith() C. Starts() D. ends()