【发布时间】:2014-08-16 14:32:19
【问题描述】:
int[][] mytime = {
{10, 33},
{11, 23},
{9, 13},
{16, 53},
};
for (int h=1; h < mytime[0]; h++) // checking for the first index (ie: 10, 11, 9, 16)
for (int m=1; h < mytime[1]; h++) // checking for the second index (ie: 33, 23, 14, 53)
如何执行 for 循环直到其中一项索引检查?
【问题讨论】:
标签: java android arrays if-statement for-loop