Reply to nobody,
"BCS" <[EMAIL PROTECTED]> wrote in messageApple[] apples = new Apples[10]; for(int i = 0; i < 10; i++) { apples[apples.length-1] = new Apple(); }
Oops. typo
apples[i] = new Apple();
Reply to nobody,
"BCS" <[EMAIL PROTECTED]> wrote in messageApple[] apples = new Apples[10]; for(int i = 0; i < 10; i++) { apples[apples.length-1] = new Apple(); }
Oops. typo
apples[i] = new Apple();