answersLogoWhite

0


Best Answer

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

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What can be used to read input from the keyboard?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


Is a keyboard on a computer a peripheral?

Yes, a keyboard is a peripheral used for input.


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.


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.


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


Is a keyboard an input device?

Yes, a keyboard and mouse are both input devices.


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.