Results 1 to 2 of 2

Thread: 2D-Arrays

  1. #1
    kbyrne is offline Member
    Join Date
    Dec 2007
    Posts
    15
    Rep Power
    0

    Default 2D-Arrays

    Hi, I'm writing a 2d array in which i require the user to type in a number, that number will then return a int that relates to it... ie if 49 is given as an argument C#3 is returned, if 60 is given C4 is returned

    Attached is code with the way i started to attempt it. Please can somebody give me pointers on how to complete, or even if i'm going the right way about it.
    Attached Files Attached Files

  2. #2
    diRisig is offline Member
    Join Date
    Feb 2008
    Posts
    6
    Rep Power
    0

    Default

    i think you should look at this:

    The Map Interface (The Java™ Tutorials > Collections > Interfaces)
    (MAPS)
    Otherwise goole on "java lists", "java collections" or something similar.

    I've never used them but i've used similar in C# so i can't really help.

Similar Threads

  1. Arrays
    By bunbun in forum New To Java
    Replies: 1
    Last Post: 04-09-2008, 02:24 AM
  2. new to arrays
    By jimJohnson in forum New To Java
    Replies: 1
    Last Post: 04-08-2008, 02:45 PM
  3. question about arrays
    By broganm1 in forum New To Java
    Replies: 3
    Last Post: 02-13-2008, 02:29 AM
  4. arrays help
    By Warren in forum New To Java
    Replies: 6
    Last Post: 11-23-2007, 07:23 PM
  5. Problems with arrays
    By Marcus in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 08:10 AM

Posting Permissions

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