📅  最后修改于: 2022-03-11 14:56:17.639000             🧑  作者: Mango
代码示例1
public int[] findEvens() {
int numberEvens = 0;
for (int i = 0; i < numbers.length; i++) {
if (i % 2 == 0) {
numberEvens++;
}
}