How I can index the array starting from 1 instead of zero?

后端 未结 5 1013
滥情空心
滥情空心 2020-12-10 09:46
for (int i = 0; i < reports.length; i++) {

  Products[] products = reports[i].getDecisions;

  for (int j = 0; j < products.length; j++) {

  }
}
5条回答
提交回复
热议问题