Examveda
Examveda

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: Option A


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings