A simple command-line Java application that helps you record expenses, view them, and see a quick summary.
- Add expense entries with description, amount, and category
- View all recorded expenses
- See the total amount and number of entries
- Easy to run from the terminal
- Open a terminal in this folder.
- Compile the program:
javac ExpenseTrackerCLI.java
- Run the program:
java ExpenseTrackerCLI
When the program starts, you can choose from the menu to:
- add a new expense
- display the saved entries
- show the total expense summary
- exit the app
This example is intended for beginners learning Java input/output, loops, classes, and collections.