Which of the methods of String class can be used to test to strings for equality?
Answers
Answered by
1
Answer:
equals() is method of class String, it is used to check equality of two String objects, if they are equal, true is retuned else false.
Answered by
0
Answer:
equals() is method of class string, it is used to equality of two string objects, if they are equal, true is returned else false
Similar questions