Results 1 to 2 of 2
Thread: 2D-Arrays
- 02-07-2008, 06:27 AM #1
Member
- Join Date
- Dec 2007
- Posts
- 15
- Rep Power
- 0
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.
- 02-07-2008, 10:08 PM #2
Member
- Join Date
- Feb 2008
- Posts
- 6
- Rep Power
- 0
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
-
Arrays
By bunbun in forum New To JavaReplies: 1Last Post: 04-09-2008, 02:24 AM -
new to arrays
By jimJohnson in forum New To JavaReplies: 1Last Post: 04-08-2008, 02:45 PM -
question about arrays
By broganm1 in forum New To JavaReplies: 3Last Post: 02-13-2008, 02:29 AM -
arrays help
By Warren in forum New To JavaReplies: 6Last Post: 11-23-2007, 07:23 PM -
Problems with arrays
By Marcus in forum New To JavaReplies: 2Last Post: 07-04-2007, 08:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks