Java Primitive Types to Calculate Expenses

4.4
5 个评分
提供方
Coursera Project Network
在此指导项目中,您将:

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.

Clock2 hours
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

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.

您要培养的技能

Data TypeAlgorithmsObject-Oriented Programming (OOP)JavaComputer Programming

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Create the Java Class and add the Public Static Void Main Method to Create the Application.

  2. Initialize primitive variables of type long, int, byte, char, double, float and boolean.

  3. Use Arithmetic Operators to Calculate a Monthly House Payment.

  4. Use a Scanner to assign values taken from User Input.

  5. Create methods to calculate and return monthly house payments and grocery expenses.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心