Loopskey-logo
CourseTechnology

Java Primitive Types to Calculate Expenses

By External Provider

Price

Free

Go to content

Opens coursera.org in a new tab

Level

INTERMEDIATE

Duration

2 h

About this course

In this project you will create an application that calculates a monthly expense estimation using a calculated monthly house payment and grocery bills using Java. Java is an Object-Oriented language that contains many Classes but also contains what are called Primitive Data Types. These primitive data types are used to store numbers and characters in Java and have all the Arithmetic operations needed to perform various calculations. To get started with Java, it is important to know how to use these built in data types as they are found throughout the language. The primitive data types take up much less space than objects do and can make a program much more efficient when used properly. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

What you will learn

  • Use Arithmetic Operators to Calculate a Monthly House Payment.
  • Use a Scanner to assign values taken from User Input.
  • Create methods to calculate and return monthly house payments and grocery expenses.