Search:

Type: Posts; User: dougie1809

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    1,455

    Re: Creating Objects at specified indexes

    Thanks, yea il try that so
  2. Replies
    4
    Views
    1,455

    Re: Creating Objects at specified indexes

    I understand how the compiler cannot find ques, but I used a for loop to add each index to the ques variable (ques+i).

    So according to the compiler, wouldn't it look as if the variable is ques1,...
  3. Replies
    4
    Views
    1,455

    Creating Objects at specified indexes

    Hi,

    I am trying to add created objects to an ArrayList in a for-loop through indexes. The code below gives me errors when I try compile



    //Create 4 Question objects...
    Question ques1 = new...
Results 1 to 3 of 3