We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47aa44 commit 55d063fCopy full SHA for 55d063f
src/arrays/relation_to_final_variables.md
@@ -12,7 +12,7 @@ final char[] catchphrase = { 'w', 'o', 'a', 'h', '!' };
12
System.out.println(catchphrase);
13
14
// Cannot reassign
15
-// catchphrase = { 'e', 'g', 'a', 'd', 's' }
+// catchphrase = new char[] { 'e', 'g', 'a', 'd', 's' }
16
// but can set elements directly
17
catchphrase[0] = 'e';
18
catchphrase[1] = 'g';
0 commit comments