public static void main(String args[]) throws IOException
    {
        String s1="abc";
        String s2="xyz";
        String s3="abcxyz";
        String s4=s1.concat(s2);
        System.out.println(s4);
        @SuppressWarnings("unused")
        String s5=s1+s2;
        if(s3==s4)
        {
            System.out.println("true");
        }
        else
            System.out.println("false");
    }
Why the o/p is coming as false? According to me it should be true. Can someone please explain
 
     
     
    