© Iuliana Cosmina 2018
Iuliana CosminaJava for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-3778-6_10

10. Making Your Application Interactive

Iuliana Cosmina1 
(1)
Edinburgh, UK
 

So far in the book input for our Java programs data was provided via arrays or variables that were initialized inside the code or via program arguments. But most applications nowadays require interaction with the user. The user can be provided access by entering a username and a password; the user is sometimes required to enter information to confirm his/her identity or to instruct the application what to do. Java supports multiple methods for user input to be read. In this chapter a few ways to build interactive Java applications are covered. Interactive Java application ...

Get Java for Absolute Beginners: Learn to Program the Fundamentals the Java 9+ Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.