mutable offers everything that can change, i.e. int
int a = 0;
System.out.prtinln(a);
a = 2;
System.out.prtinln(a);
In java, the string is immutable. you cannot change the value of a string only with your link.
String s1 = "Hello";
System.out.println(s1); //prints Hello
String s2 = s1;
s1 = "Hi";
System.out.println(s2); //prints "Hello" and not "Hi"
State is what the class instance (object) will have.
, ,