If str 1 and str2 are both Strings, which of the following expressions will correctly
determine whether they are equal?
(1) (str1 == str2)
(2) str1.equals(str2)
(3) (str1.compareTo(str2) == 0)

Respuesta :

Zaz33
Str1==str2 is the answer