📚 Practice Mode
Java Strings
Learn at your own pace with hints and detailed explanations
1 / 15
Multiple Choice
Which of the following methods is/are defined in the String class for comparing the Strings?
- equals(String s)
- compareToIgnoreCase(String s1)
- compareTo(String s3)
- both 2 and 3
- all of these