Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Cum inițializezi toate elementele unui tablou bidimensional cu -1?
-1
Arrays.fill(matrix,-1);
Arrays.fill(matrix,
-1);
for(int[]row : matrix) Arrays.fill(row, -1);
for(int[]
row : matrix) Arrays.fill(row, -1);
Arrays.deepFill(matrix,-1);
Arrays.deepFill(matrix,
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!