I wonder if Java ever creates pointers to an other String.
One example where it could be a pointer:
App app = new App("name");
String name = app.getName();
All references to objects are pointers; however,
setName will change the value of the pointer, i.e., point it to somewhere else. Also, note that Strings are immutable and internalized, so there is always one instance per value and they never change.