Search:

Type: Posts; User: alagbala

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    851

    Re: Can anyone help with this question

    //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];...
  2. Replies
    5
    Views
    851

    Re: Can anyone help with this question

    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)...
  3. Replies
    5
    Views
    851

    Can anyone help with this question

    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...
Results 1 to 3 of 3