How do i get something from the Input ( Keyboard ) - NOT an Applet

something simple for u guys...im nea @ this...so which methods do i need to get something from the keyboard...i mean..console waits for you to write a line ( a String ) and after pressing Enter the program puts it in another String in my code...
hope u get what im talking about...sorry for the bad english...thnx a lot!!!! :)

this class has how to get from a file or from a String in your code but cant find something like get the String from the console ( like u do in C language ).
here is the scan class : here

Similar Messages

Maybe you are looking for