Write a code segment that sets prints a message indicating whether the String variables s1 and s2 are the same.
if (s1.equals(s2))
System.out.println("The strings are the same");
else
System.out.println("Ths strings are different");