Question
Which of these data type values is returned by equals() method of String class?
Answer: Option C
Was this answer helpful ?
equals() method of string class returns boolean value true if both the strings are equal and false if they are unequal.
Was this answer helpful ?
Submit Solution