Results 1 to 8 of 8
  1. #1
    kidwave1 is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    Exclamation [Hurry!!!] Got a problem in Array List...

    kinda new to java, what is an One-dimensional Arraylist, Two-dimensional Arraylist, & Multi-dimensional Arraylist... and can you give me an example so i can use them as a basis for my research project... i need it badly the research is to be passed on tuesday here in philippines...
    Last edited by kidwave1; 11-22-2008 at 10:18 AM.

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    Java Code:
    int[] oneDimension;
    int[][] twoDimension;
    int[][][] threeDimension;
    which is an incomplete answer to your question. You will not pass any inquisitions with the code here, the question is not posted in a manner that can be given a direct answer.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default arrays vs arraylists

    What Nicholas showed are examples of arrays. Arraylists are very similiar. Your question is very vague. If I were you, I'd Google "java array vs arraylist" and see what pops up.
    Some more good links:
    Arrays:
    Array (Java Platform SE 6)
    Arraylists:
    ArrayList (Java Platform SE 6)

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    Hey kid, who're ya telling to hurry? You ain't got no servants here.

  5. #5
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    Savants maybe, servers yes, servants - no.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  6. #6
    kidwave1 is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    Default

    i mean an example program, cause my teacher gave an project which we will search and explain to him the program which we need is to program examples...

  7. #7
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    It's your project so isn't it your responsibility to come up with a program? Don't get me wrong, we'll be happy to help answer direct and straight-forward questions, but stuff like this is really up to you. Good luck!

  8. #8
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Example of arraylist...

    Kid...
    please google "java arraylist example" and you will find plenty of examples

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. array list help
    By dorno83 in forum New To Java
    Replies: 9
    Last Post: 11-07-2008, 09:56 AM
  2. Array List problem
    By kurenai in forum New To Java
    Replies: 2
    Last Post: 06-25-2008, 07:30 AM
  3. How to convert List to Array
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-16-2008, 10:37 PM
  4. Array List Problem
    By khamuruddeen in forum New To Java
    Replies: 1
    Last Post: 12-22-2007, 08:10 AM
  5. using an Array list
    By toad in forum New To Java
    Replies: 1
    Last Post: 11-18-2007, 09:08 PM

Posting Permissions

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