answersLogoWhite

0

I don't know excactly what you are meaning by input from keyboard. Do you mean if they enter a key, something are going to happen or do you mean that they can type in some text and then you are trying to get the text they have typed?

If you are trying to get something happen when they press a key, use a KeyListener.

If you are going to get some text they are typing into your program you have to use scanner. Scanner can be imported from java.util.Scanner.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you read input buffer of keyboard using C?

scanf();


What is function of keyboard keys?

The keyboard is an input device the keys are used to input data into the computer


What is the most used input?

The most used input device on a computer is the keyboard.


How is the getchar function used in a C program?

The getchar() is used in 'C' programming language because it can read the character from the Standard input(i.e..from the user keyboard),and converts in to the ASCII value.


Is a keyboard on a computer a peripheral?

Yes, a keyboard is a peripheral used for input.


What types of device is a computer keyboard?

The Keyboard is an Input Device. It is used to enter text and utilise commands. It is a peripheral.


Is a keyboard an input or an output device?

A keyboard is an input device. You input information by typing.A keyboard is an input device.


Is a keyboard an input device?

Yes, a keyboard and mouse are both input devices.


What is a computer keyboard used for?

It is used to input letters and numbers into the computer.


What is used in airplane as an input device?

a keyboard is used in an aero plane


What is a piece of hardware that is used to enter data into a computer?

A device which is used to enter data into the computer is called an "input device". Devices such as the keyboard, mouse, microphone, gamepad, and joystick are all input devices.


What is a example of keyboard?

A keyboard is an example of an input device. It is used to input information onto the computer and thus allowing you to utilize your device more effectively.

Trending Questions
Can you put male and female rats together? When using windows 8 the program helps manage your files and folders by showing the location and contents of every drive folder and file on your computer? Data aggregation in wireless sensor networks? How much does apple owner make a year? The use of multiple cooling fans in a case has which advantages? Weight of cubic meter of hydrogen? Who brought dell boy number plate and how much? Can keeping your laptop on including sleep mode affect it's overall performance can not turning it off for long periods of time damage it? In Excel what is the background for a chart called? How well will this Laptop handle Skyrim - Intel Core i5 2.6Ghz to 3.2Ghz 4GB DDR3 Intel HD 4000 with 1760 Video Memory? How do you write something on Hotmail that people can see when there on there Hotmail home screen? Security experts agree that average home computer users have very little knowledge regarding how to make their computers secure. What suggestions would you offer to make more users security competent? What qualifications are needed to be a computer technician? A graphic or text the jumps the viewer to a different location or program when clicked is called a what? What are the differences between LAN and WAN? Can you download while the laptop is in sleep mode? What is an input device that contains keys you press to enter data into the computer? Is purple better than red? What are the disadvantages of a colemak keyboard? What Microsoft application will you use to read and sent electronic mail?