Skills Expanded

Creating Your First Java Program

What you'll learn

In this project, you will be creating your first program in Java - a mortgage calculator and best loan rate calculator. You will develop multiple command-line programs that can run from a single app.

  1. Create a command-line program to return the best loan rates based on the loan term.
  2. Create a command-line program to return the net monthly savings given income and expenses.
  3. Create a command-line program to return the monthly mortgage payment given few required inputs.
  4. Merge all the command-line programs into one user-friendly app and verify the app can handle errors and bad inputs.

Table of contents

Setup
20m
  • Set up your local environment for this project. We'll walk you through everything you need to know, including how to install and configure your environment to be able to complete all of the tasks.
Finding the Best Loan Rates
12m
  • Create a command-line program to return the best loan rates based on the loan term.
Creating a Savings Calculator
20m
  • Create a command-line program to return the net monthly savings given income and expenses.
Creating a Mortgage Calculator
20m
  • Create a command-line program to return the monthly mortgage payment given few required inputs.
Creating One Finance App
12m
  • Merge all the command-line apps into one
Handling Errors and Bad Inputs
10m
  • Make your calculators safe against bad inputs

Course FAQ

What is Java used for?

Despite being released decades ago, Java remains one of the most widely-used programming languages today and finds use in many applications from big data to Android development.

What will I learn in this project?

This project will help you develop multiple programs that will run from a single Java app.

What prerequisites do I need to create my first program in Java?

This beginner-level project is great for breand new Java developers just getting their feet wet.

What software is required?

This project will walk you through installing IntelliJ for running unit tests.

About the author

Harit Himanshu is a hands-on software professional with more than a decade of experience in building and shipping products at companies of small to large sizes. He has contributed in various domains such as Advertising, CleanTech, Security, and FinTech. He is passionate about writing clean testable code and prefers being lazy when coding. In his free time, he is found tinkering new technologies, learning new business domains, reading books, cooking, singing and investing his time with his wife o... more

Ready to upskill? Get started