Java Primitive Types to Calculate Expenses

提供方
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.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心