id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

bryce.hulett@hotmail.com > threeD
prev  |  next  |  chance

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)

public String threeD(){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200 Post-solution available

Copyright Nick Parlante 2017 - privacy