Which Of These Methods Of Class String Is Used To Check Whether #367
Which of these methods of class String is used to check whether a given object starts with a particular string literal?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java String Handling - String Comparison in java - Quiz No.1.
Which of these methods of class String is used to check whether a given object starts with a particular string literal?
startsWith()
endsWith()
Starts()
ends()