Vidyalelo
Java Programming · Q65

Strings

Programming · Java Programming · question 65

Q65

Which of these methods of class String is used to check whether a given object starts with a particular string literal?

A.
startsWith()
Answer
B.
endsWith()
C.
Starts()
D.
ends()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board