結果 : get number of rows in 2d array java