[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

Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Suggested Videos

Title Views Activity
Introduction to C++: Vectors - Push and Pop Back 503
Introduction to HTML (Part 1) 111
Installing EGit on Eclipse 177
Flexible Layouts 69
In this post we will learn different types of Android Layout and some basics of an Android App.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Other videos by this author
  1. For Loops in Java(5:35)
  2. If Statement in Java(5:35)
  3. Introduction to Arrays in Java(5:20)

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month