class TestStringEquality {
    
    public static void main (String[] args) {
        System.out.println("hello".equals("hello"));       
        System.out.println("hello" == "hello");        
        System.out.println("hello" == new String("hello"));
    }
}