Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Core Tech
Labs

Creating Your First Java Program

Lab platform
Lab Info
Level
Beginner
Last updated
Sep 18, 2025
Duration
3h 23m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Finding the Best Loan Rates

    In this lab, you will be creating a few calculators, including a MortgageCalculator and a Best Loan Rate Finder. You will develop multiple command-line apps that can run from a single command.

    In this module you'll create a command-line program to return the best loan rates based on the loan term. ### Solution The solution can be found in the solution directory.

  2. Challenge

    Creating a Savings Calculator

    In this module you'll create a command-line program to return the net monthly savings given income and expenses.

  3. Challenge

    Creating a Mortgage Calculator

    In this module you'll create a command-line program to return the monthly mortgage payment given few required inputs.

  4. Challenge

    Creating One Finance App

    In this module you'll merge all the command-line apps into one.

  5. Challenge

    Handling Errors and Bad Inputs

    In this module you'll make your calculators safe against bad inputs.

About the author

Harit Himanshu is an engineer by profession with the deep interest in applying technologies to solve business problems. Harit is passionate about writing clean, modular, testable code and believes in automating almost everything.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight