Array index starts from 0 in Ruby, just like in C and Java. ... you can create multi-dimensional arrays, like the empty 4x4 array created in the example ...
確定! 回上一頁