Search:

Type: Posts; User: helloworld922

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,806

    Re: Just a simple question

    Mmm, that's not particularly true. An ArrayList can hold more for a given memory size than a LinkedList because LinkedList nodes require at least 1 pointer on top of each element to hold the address...
  2. Replies
    10
    Views
    1,806

    Re: Just a simple question

    Oh yeah, and as a side note, you want to pick better names. Names such as l or al give the programmer(s) no inclination to what that variable is being used for. Even if you named the variables list...
  3. Replies
    10
    Views
    1,806

    Re: Just a simple question

    Depends on the application.

    Use the List if you want to allow anything that resembles a list as that variable. Otherwise if you want to limit it to a specific type of list (ArrayList or...
Results 1 to 3 of 3