[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Simple User Input in Java

Posted on
6,181 Points
Last Modified:
Experience Level: Beginner
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


Featured Post

Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
In this post we will learn different types of Android Layout and some basics of an Android App.
Other videos by this author
  1. Introduction to Arrays in Java(5:20)
  2. For Loops in Java(5:35)
  3. If Statement in Java(5:35)

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month