s2 = s1;(both string)are they the same object? June 21, 2017 mfadmin Java Programming Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review. s2 = s1;(both string)are they the same object? yeswhy??asked stackoverflow.