A String can tell us its length. The name is not an object. It refers to an object. The String class describes more than 30 services that a String can provide. There is no service, however, to change the characters in a String object.
Strings are immutable .
However, a String variable can refer to different strings at different times. In Java, not everything is an Object. Numeric values like 5 aren't objects, since they don't have behavior and can't remember things. They just are. All of the complex things that a programmer can define are objects, however.