<

Simple User Input in Java

Posted on
6,183 Points
183 Views
Last Modified:
Published
Experience Level: Beginner
4:52
Viewers will learn one way to get user input in Java.

Video Steps

1. Introduce the Scanner object

2. Declare the variable that stores the user input

3. An example prompting the user for input

4. Methods you need to invoke in order to properly get user input

0
0 Comments

Suggested Videos

In configurations with multiple monitors, it can be difficult and time-consuming to move the mouse pointer to a particular monitor. This article presents a script written in AutoHotkey that defines hotkeys — such as Alt+Ctrl+1, Alt+Ctrl+2, etc. — to…
In a recent question here at Experts Exchange, a member wants to enhance an AutoHotkey script that performs "Title Case" conversion. The enhancement is to allow specification of words that are excluded from the capitalization (conjunctions and prepo…
Other videos by this author
  1. Variables in Java(5:18)
  2. Introduction to Arrays in Java(5:18)
  3. If Statement in Java(5:33)

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month