Search:

Type: Posts; User: Stn

Search: Search took 0.19 seconds.

  1. Replies
    1
    Views
    1,910

    taking information from one array into another

    I have 2 arrays that store members and books in a library, i want to use a 3rd array to take information out of those arrays. E.g take one member and one book and put them in one "Loan" slot to...
  2. Replies
    6
    Views
    2,630

    Re: Arraylist removing element

    Here is how i add a member, When i add a member it adds one to the nextMemberID int. So if i add member 4 to the list of 3 members then i'll have 4 members 1,2,3,4. If i remove member 2 then i'll...
  3. Replies
    6
    Views
    2,630

    Re: Arraylist removing element

    Ok i can see my question isn't clear so i'll try to explaine. if i add 10 members to the array then the array will hold these members in cells 0-9. My "nextMemberID" will hold these members as 1-10. ...
  4. Replies
    6
    Views
    2,630

    Re: Arraylist removing element

    sorry i didn't mean the element because they do move down as you remove objects, i meant to get my "nextMemberID" to shuffle down by 1 so as to fill the gap.
  5. Replies
    6
    Views
    2,630

    Arraylist removing element

    Hi

    i have an arraylist thats keeping a track of members, i need to remove a member and have the list push all other elements down by 1. Please help



    ArrayList<Membership> member;
    ...
  6. Replies
    2
    Views
    2,256

    Re: Missing return statement

    Wow return found; worked like a charm, i've actually got tears in my eyes i'm so happy!

    Thanks for your help.
  7. Replies
    2
    Views
    2,256

    Missing return statement

    Hello everyone

    I'm going out of my mind as to why this doesn't work, any help on the matter would be very helpful. I'll try and lay this out so its easy to read.

    It keeps saying missing return...
  8. Thread: Hello everyone

    by Stn
    Replies
    1
    Views
    1,054

    Hello everyone

    Hello everyone

    I'm fairly new to programming in java and i'm hoping to find some kind people to help me out.

    Thanks

    Jay
Results 1 to 8 of 8