Adding only the number of rows - 2D Arrays in Java

前端 未结 0 516
刺人心
刺人心 2020-11-22 16:36

So I\'m a bit confused about how to use a 2D Array in Java if you only declare the number of rows at first. For example:

int[][] x = new int[5][]; But ho

相关标签:
回答
  • 消灭零回复
提交回复
热议问题