4 ms·
String[] strings = {"x0","x1"}; strings[0] = "something else"; // mutable. Object[] things = strings; things[1] = null;// mutable. all works.(in ja
by toolslive 6y ago
String[] strings = {"x0","x1"};
strings[0] = "something else"; // mutable.
Object[] things = strings;
things[1] = null;// mutable.
all works.(in java), but I understand what you mean.