If a method has a local variable i:
i
int i = 10;
and then I assign a new value:
i = 11;
Will
Primitive literals and final primitive variables are immutable. Not final primitive variables are mutable.
final
Identity of any primitive variable is the name of that variable and it's obvious that such an identity is unchangeable.