reset password
Author Message
Mgerlit
Posts: 5
Posted 13:52 Oct 04, 2015 |

Is there a way to check how many rows are in a 2d array?

jhurley
Posts: 207
Posted 14:00 Oct 04, 2015 |

In Java, a 2d array is implemented as a one-d array of one-d arrays.  The length of the 2d array (eg, myArray.length) is the number of rows.