class MainClass {
public static void main (
String [] args) {
String s1 = new String("hello world");
String s2 = new String("hello world");
System.out.println(s1.equals(s2));
StringBuilder sb1 = new StringBuilder("hello world");
StringBuilder sb2 = new StringBuilder("hello world");
System.out.println(sb1.equals(sb2));
}
}