Java Project: Delivered

Piece together all the components to produce the final application.

Review of the chapter

In this chapter, we covered the following:

  • The comparison operators can be used to compare values (compare userAnswer to correctAnswer for equality, in our case). 

  • The if, else-if, and else 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