Created
January 4, 2017 13:17
-
-
Save yoshiya54/cede634a86046a85a996dc0246214613 to your computer and use it in GitHub Desktop.
配列に代入演算するとnull値が入ってしまう ref: http://qiita.com/yoshiya64/items/dacadee52ca92075a9be
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] c = new String[4]; | |
c[1] += 3; | |
System.out.println(c[1]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arrays.fill(c, ""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment