-5

I need to define specific numbers out of an array of 52 numbers so I can assign them an image (yes I am creating an applet). I don't think that code is necessary for any of you to answer this question. Any help would be fantastic.

3

1 Answer 1

2

I'm not sure I understand what you're asking. You can set an item in an array this way:

myArray[4] = 52;

That would set array index #4 (remember it's zero based so it's actually the 5th item) to the value of 52. Is that what you're looking for?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.