Results 1 to 2 of 2

Thread: Removing All Values From A list in an array

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    2

    Removing All Values From A list in an array

    This is my beginning code; help to finish it please.




    Thomas Wilson



    public void removeAll(int newVal)
    {


    for(int i = 0; i < list.length; i++)
    {
    if(list[i] == list[i])

    removeFirst(newVal);
    }

  2. #2
    Lively Member
    Join Date
    Oct 2005
    Posts
    74

    Re: Removing All Values From A list in an array

    First off, we will not do your homework for you, second off, you didn't give enough instruction. Do your own work and learn.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width