December 2018
Beginner
623 pages
13h 13m
English
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 ...