Reassign all ints with a specific value Java

后端 未结 0 913
孤城傲影
孤城傲影 2021-01-25 13:01

Supppose I have a 2d array, grid defined like so:

    int[][] x = new int[][]{{0,0,1},{0,0,2},{0,0,3}};

Now suppose I want to reassign all positi

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