X54: fizzArray2

Given a number n, create and return a new string array of length n, containing the strings "0", "1" "2" .. through n-1. N may be 0, in which case just return a length 0 array. Note that String.valueOf(xxx) will make the String form of most types, including ints. The syntax to make a new string array is new String[desired_length].

Reset

Practice a different Java exercise