Re: Best way to get user input from the console window?



"Sean W" <swashington@xxxxxxxxx> wrote in message news:1157032858.283353.325930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey everyone,

I'm a freshman in college and I'm currently learning java for one of my
classes. I know this question is really simple, but I've seen a number
of different ways to do this, and the example my teacher provided
didn't exactly work...

Any Suggestions?

The reason you've seen a number of different ways to do this is that there are a number of different ways to do it, and they each have their own quirks. As Andrew suggested, it's probably best if you do it the way the teacher wants you to do it, or else you may run into problems in future assignments when the quirks of the teacher's way won't match up with the quirks of the way you end up using.

(I'm new to mailing list groups as well. I got sick of all the flaming
and non-useful posts with conventional forums)

comp.lang.java.programmer is a newsgroup, so you might want to read http://kb.iu.edu/data/abcy.html

- Oliver

.