Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Stupid java question

Name: Anonymous 2009-11-22 6:21

Yes I know I should be programming in Lisp. Yes java sucks. I'm a noob. OK.

I just want to know, how do I read a String from Scanner?
Like suppose I have

Scanner keyboard = new keyboard(System.in);
System.out.println("What is yo name?");
//Is it something like
//String name = keyboard.nextString ?
I've only ever used scanner for numbers so I'm a bit lost here.

Name: Anonymous 2009-11-22 7:13

>>6
I know you're trolling, but if you say that, it only shows that you don't really know Lisp.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List