what does .equals do here:s1.equals (s2)s1 and s2 are strings June 21, 2017 mfadmin Java Programming Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review. what does .equals do here:s1.equals (s2)s1 and s2 are strings compares