This discussion is archived
8 Replies Latest reply: Nov 25, 2008 9:33 AM by 843785 RSS

Need help with arrays

843785 Newbie
Currently Being Moderated
Hello everyone.

Let's say I have an array of chars and I want to fill it with inputs that I 'll type from my keyboard.

Will I use something like a scanner as we do at int arrays?
I mean like this :
for (i = 0; i < answers.length; i++) {
               answers[i] = reader.nextInt(); }
          Thanks for your time!

Edited by: Feel_me_get_in on Nov 25, 2008 5:10 AM

Edited by: Feel_me_get_in on Nov 25, 2008 5:22 AM