public class HelloWorld{
    public static void main(String []args){
        String a= "hello";
        String ab= a +"John";
        String abc = "helloJohn";
        System.out.println(ab==abc);
    }
}
It prints
ab==abcfalse. Shouldnt it be true..??
 
     
     
     
    