
public class TestString {

	public static void main(String[] args) {
		String a = new String("hallo");
		String b = new String("hallo");

		System.out.println(a == b);
		System.out.println(a.equals(b));

	}

}
