“Which comes first in a 2D array, rows or columns?”,”Java is considered “”row major””

Average Rating
0 out of 5 stars. 0 votes.

“Which comes first in a 2D array, rows or columns?”,”Java is considered “”row major””

meaning that it does rows first. This is because a 2D array is an “”array of arrays””.source: stackoverflow”