about | help | code help+videos | done | prefs |
Return a String representation of a three-dimensional array of integers, that has 3 rows, each of which has 2 columns where each column is an array of 4 integers. The elements in the first row are all 5, in the second row are all 7, and in the third row the first column is all 8 and the second column is 30, 31, 32, and 33. To get the required String: return Arrays.deepToString(x); threeD() → "[[[5, 5, 5, 5], [5, 5, 5, 5]], [[7, 7, 7, 7], [7, 7, 7, 7]], [[8, 8, 8, 8], [30, 31, 32, 33]]]" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 200 Post-solution available
Copyright Nick Parlante 2017 - privacy