Multiple choice Which of the following methods is/are defined in String class for comparing strings? equals(String s) compareToIgnoreCase(String s1) compareTo(String s3) Both (2) and (3) All of the above Reveal answer Fill a bubble to check yourself E Correct answer Explanation As all of the functions are defined in the String class, so this is the correct answer.