int[] arrayInt = new int[10]; // int arrayInt[]
arrayInt[0] = 123;
ClassApple[] apples = new ClassApple[10];
for (int i=0; i<apples.lenght; i++) {
apples[i] = new ClassApple();
}
No comments:
Post a Comment