I am creating 2 string in pool of strings without making use of new keyword as shown
below

```
String s="abc";
String s1="def";

```

I am creating one more by concatenating the above two strings as shown below

```
String s3=s+s1;
System.out.println(s3==s+s1);

```

the result is false.

I want to know the reason behind the result, is it because of immutability i.e. the state of a string cannot be changed.