|
String Objects
str1 = str2; //reassign reference will change the picture to:

Automatic garbage collection will reclaim unreferenced object
The java.lang.String class contains many useful methods that you can use to
manipulate the String objects. Remember, since Strings are immutable, you
are technically not changing the original string you are creating a new string.
|
 | |