Tag: if else
-
Coding Challenge 4:
For this coding challenge, we are going to create a class called CodingChallenge4 and create a boolean variable called I_like_sushi . You can assign it either a true or false value based on whether you are a Sushi fan. Then, we are going to create an if and an else if statement. For the if…
-
Lesson 13: If Else Statements
In the last lesson we were introduced to if statements and how they are implemented in Java. In this lesson, we will be going over a more advanced version of the if statement. This statement will be referred to as the if else statement. This applies everything we learned in the lesson prior and adds…