Software Developer Tool Box/Java Dev Notes

From UEQ Wiki
Jump to: navigation, search

Home (uequations.com)   >>   UEQ Wiki TOC


Notes

To iterate over a 2d array using a for loop:

for(int i = 0; i < arr.length; ++i){

for(int j = 0; j < arr[i].length; ++j) {

...

}

}