Java Project: Delivered
Piece together all the components to produce the final application.
We'll cover the following
Review of the chapter
In this chapter, we covered the following:
The comparison operators can be used to compare values (compare
userAnswer
tocorrectAnswer
for equality, in our case).The
if
,else
-if
, andelse
statements perform an action only when certain condition(s) are met.The
while
loop can bring significant convenience when performing repetitive tasks.
Cheat sheet
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy