Diff. between List<Object> and ArrayList<Object>? usage samples?

Discussion in 'Java' started by Gianni Galore, Oct 27, 2010.

  1. I want to define a list of objects. As far as I know one can implement it as

    List<Object mylist = new .....

    or

    ArrayList<Object> mylist = new ....

    What is the difference?

    Where can I find usage samples for adding and retrieving Objects to/from a pure List?

    Gianni
    Gianni Galore, Oct 27, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cyril Vi?ville

    diff Process under diff users

    Cyril Vi?ville, Jun 29, 2004, in forum: Perl
    Replies:
    1
    Views:
    497
    Joe Smith
    Jun 29, 2004
  2. Berrucho
    Replies:
    2
    Views:
    617
    Infant Newbie
    Dec 5, 2003
  3. A Traveler

    Diff CSS styles for diff INPUT TYPE='s?

    A Traveler, Aug 31, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    4,902
    Steve Fulton
    Aug 31, 2004
  4. Santa
    Replies:
    1
    Views:
    1,059
    Mark A. Odell
    Jul 17, 2003
  5. Austin Ziegler

    [ANN] Diff::LCS 1.1.0, Diff::LCS 1.0.4

    Austin Ziegler, Aug 8, 2004, in forum: Ruby
    Replies:
    3
    Views:
    177
    Austin Ziegler
    Aug 9, 2004
Loading...

Share This Page