0
私はオブジェクトの行列を持っており、その部分のintを与える要素を取得したいと考えています。行列の要素を取得する
Computer matrix[][]=new Computer[rows][cols]
public Computer getComputerInTheMatrix(int n_rows,int n_cols){
return matrix[n_rows][n_cols];
}
それが右この方法ありますか?
... –