الرجوع
تسجيل الدخول

Which XXX / YYY declare an array having MAX_SIZE elements and initializes all elements with -1?

final int MAX_SIZE = 4;
int[] myNumbers = new int[XXX];
for (i = 0; i < YYY; ++i) {
    myNumbers[i] = -1;
}