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. In real life, however, most applications require interaction with the user. The user can be provided access by entering a username and a password, and the user is sometimes required to type in details 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 we will be covering a few ways to build interactive Java applications. Interactive ...
10. Making Your Application Interactive
Get Java 17 for Absolute Beginners: Learn the Fundamentals of Java Programming 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.