We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13633c0 commit 67a7124Copy full SHA for 67a7124
1 file changed
src/java.base/share/classes/java/lang/String.java
@@ -70,9 +70,9 @@
70
* string literals in Java programs, such as {@code "abc"}, are
71
* implemented as instances of this class.
72
* <p>
73
- * Strings are constant; their values cannot be changed after they
74
- * are created. String buffers support mutable strings.
75
- * Because String objects are immutable they can be shared. For example:
+ * Strings are immutable; their values cannot be changed after they
+ * are created. Because String objects are immutable they can be shared.
+ * For example:
76
* <blockquote><pre>
77
* String str = "abc";
78
* </pre></blockquote><p>
0 commit comments