1.15. Test-Driving a Java Application

In this section, you’ll run and interact with your first Java application. You’ll begin by running an ATM application that simulates the transactions that take place when using an ATM machine (e.g., withdrawing money, making deposits and checking account balances). You’ll learn how to build this application in the optional, object-oriented case study included in Chapters 18 and 10. Figure 1.10 at the end of this section suggests other interesting applications that you may also want to test-drive after completing the ATM test drive. For the purpose of this section, we assume you are running Microsoft Windows.

In the following steps, you’ll run the application and perform various transactions. The elements ...

Get Java™ How to Program, Seventh Edition 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.