SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6 How To Ask Questions How To Answer Questions
Originally posted by Rob Prime: It means that whatever method you call on it, it never changes the String object. An example: String string = "This is a string"; System.out.println(string); string.toLowerCase(); System.out.println(string); // prints the same Instead, all methods return a new String object.