목록Java (1)
Moe's Tech Blog
[JAVA] Notes about Array
Array is fixed in size (its size cannot be modified) 2D array is declared by adding double square parenthesis [][] in front of data type i.e. int[][] twoDIntArray, String[][] twoDStringArray, double[][] twoDDoubleArray 2D array can be given initial values by using curly brackets double[][] doubleValues = { {1.5, 2.5, 3.5}, {0.2, 0.3, 0.4} } String[][] = { {"hello", "world"}, {"2D Array", "in", "..
Java/Notes
2022. 8. 24. 00:27