+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: ArrayList - Simple version !

  1. #11
    Join Date
    May 2008
    Location
    Hell
    Posts
    3,852
    Blog Entries
    4
    Rep Power
    49

    Re: ArrayList - Simple version !

    Quote Originally Posted by Stu_328 View Post
    Nice tutorial

    A quick note, actually you can have an ArrayList of chars, you just have to use the wrapper class Character.

    Code:
    ArrayList<Character> charArr = new ArrayList<Character>();
    Lovely, I haven't used ArrayList for like ages

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #12
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: ArrayList - Simple version !

    In edition to that quick note, to use an array list of any primitive data type (int, boolean, char, float, etc..) you have to use it's equivalent wrapper class.

  4. #13
    Join Date
    May 2008
    Location
    Hell
    Posts
    3,852
    Blog Entries
    4
    Rep Power
    49

    Re: ArrayList - Simple version !

    Quote Originally Posted by chili5 View Post
    In edition to that quick note, to use an array list of any primitive data type (int, boolean, char, float, etc..) you have to use it's equivalent wrapper class.
    Thanks for sharing

  5. #14
    Megaman163 is offline Newbie
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Re: ArrayList - Simple version !

    Wasn't this one you showed to class ?
    By the way it's me Jack

  6. #15
    Join Date
    May 2008
    Location
    Hell
    Posts
    3,852
    Blog Entries
    4
    Rep Power
    49

    Re: ArrayList - Simple version !

    Quote Originally Posted by Megaman163 View Post
    Wasn't this one you showed to class ?
    By the way it's me Jack
    Jack, why LOL, why are you here...

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No output on simple code: learning ArrayList class
    By scottbomb in forum Java Help
    Replies: 3
    Last Post: 06-08-2011, 06:46 PM
  2. JComboBox - Simple Version !
    By Turk4n in forum Java Tutorials
    Replies: 9
    Last Post: 08-07-2009, 10:22 PM
  3. CodeCall's First Applet - Simple Version !
    By Turk4n in forum Java Tutorials
    Replies: 13
    Last Post: 01-15-2009, 01:09 AM
  4. Abstract method(SIMPLE VERSION)
    By Turk4n in forum Java Tutorials
    Replies: 2
    Last Post: 09-20-2008, 12:35 AM
  5. Tutorial paint dots(simple version)
    By Turk4n in forum Java Tutorials
    Replies: 6
    Last Post: 06-25-2008, 11:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

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