Home > Back-end >  The Java 2 d array
The Java 2 d array

Time:11-26


I want to ask, there is some doubt about circulation part of this code,
This code can be all elements in the two dimensional array traversal again?

CodePudding user response:

For (data type variables 1:2) {}; Enhance the for traversal is to iterate through all elements of the execution of, into the loop will execute the corresponding inside the if filter,

CodePudding user response:

1/f, reference source is a ghost reply:
for (data type variables 1:2) {}; Enhancement for execution of traverse is traverse all elements, into the loop executes corresponding the if filter, inside

You mean that I understand, I don't understand is the circle part of the code in the picture

CodePudding user response:

Completely don't understand,,,,,,,,,,,,,,,,,,

CodePudding user response:

This is just a layer of circulation, only one dimension,

CodePudding user response:

The code is not complete, where yao to judge if it is not satisfied, traverse all JJ
  • Related