To Read User Keyboard Input: Java

preview_player
Показать описание

This video tutorial shows how to read user input from Keyboard in Java.

In this tutorial we illustrate using a relatively simple program, where user is asked to input some string and it is read by the program and then out put to the console window. Simple java program.
Рекомендации по теме
Комментарии
Автор

i was un able to do the user input program... now i m able to do..thanx
plz add applet programming tutorials...

ShubhamGrover
Автор

Pretty helpful for me.
I have fired this code through the CMD but I'm getting some errors regarding DataInputStream.
Help me 

sumanthmungari
Автор

And how you can store than input for keyboard in a string variable please? This: String s = d.readLine(); doesnt work. Ty for your reply

MrSpalovac