 So now that we've learned how to evaluate in boolean a boolean expression How do we apply that to this idea of a conditional statement making the computer have a decision and Simply put this is the syntax that we're looking at we start off with this if block this if statement right here Now what this does is this sets up for Java that this don't run the code Don't run whatever's in here just yet. Don't run whatever this block of code is unless this Conditional statement this boolean expression evaluates out to true If true Then do this block of code don't do it unless that happens You can see one of the things that we add in here is that we've now included sort of these Curly braces just like we did with Public static void main and public class We're adding those here now those curly braces again. They indicate that this is known as a block of code So only it's everything that's going to be within those curly braces would be executed only if this is true Well, what happens if I want to fork in the road style right now We're dealing with just a if something is true do something What happens if I want to go well if it's true do this if it's not do this That actually equates out to something we call a dual alternative selection statement or an if else statement The same kind of concept goes on there. I start off with first my if statement I still have my conditional block and I still have my block of code But then I get into this else Keyword now this else keyword is literally designed to act as the false portion So if whatever got equated out here Turned out to be false then This executes instead of What was in the true statement what was in the if statement so the way you can think about it is this happens When it's true This happens When it's false and we could see that a little even further if we go way back to our code here a b and c a's 54 B is 3.14 c is 3 if we look at that if a greater than b if 54 greater than 3.14 Then do a system dot out dot print line a is greater than b else B is greater than a and since 54 is greater than 3.14. What do you know? We're gonna be evaluating this out as true true and so this gets executed and Again Java completely ignores the else block