This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes getting the int value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting the int value" Watch "getting the int value" New topic
Author

getting the int value

nicky sajdok
Greenhorn

Joined: Jan 22, 2003
Posts: 14
How can i use int numbers[]={1,2,3,4,5,6,7,8,9,10};
and map them out the same way as i have done below with the string keys?
so the out come will be the string keys plus there corresponding numbers.
nicky
Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
Explain a bit more about what you need. I'm not quite sure what you are trying to accomplish.


By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
nicky sajdok
Greenhorn

Joined: Jan 22, 2003
Posts: 14
I am having trouble using Integers 1 to 10
and mapping them out with the over two string arrays.
so that at the end of my code i want to print out the integer values, plus the String keys values (which i have already).
so if ben is at postion 1 and 2 i want the outcome to 1,2 = [firstname, lastname]
and so on with the keys.
hope this explains a bit better
nicky
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting the int value