Project: Attempt 1
Produce the application.
We'll cover the following
Review of the chapter
In this chapter, we’ve covered the following:
The built-in methods in Java let us carry out useful tasks.
The
print()
andprintln()
methods display data on the screen—numbers as well as text strings.Data can be saved in case-sensitive variables.
The
+
operator lets us add numbers and join text strings. (There’s an extra space after the operator.)The
scan.nextLine()
method from theScanner
class can take input from the user’s keyboard when our code runs.
With these new skills at our disposal, let’s try to determine how many requirements of the final product we can meet.
Cheat sheet
This cheat sheet will help us take a quick look at useful commands while we write the code for the final product.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy