//one way (notice the int and intArray2[])
int intArray[] = new int[3];
intArray[2] = 1;
//another way (notice the difference with int[] and intArray2)
int[] intArray2 = new int[3];...
Type: Posts; User: alagbala
//one way (notice the int and intArray2[])
int intArray[] = new int[3];
intArray[2] = 1;
//another way (notice the difference with int[] and intArray2)
int[] intArray2 = new int[3];...
I have done this bit
//one way (notice the int and intArray2[])
int intArray[] = new int[3];
intArray[2] = 1;
//another way (notice the difference with int[] and intArray2)...
The following exercises are based on those from the lecture notes. Please refer to the lecture notes for any
information required and then carry out the following exercises plus any additional tasks...