Java Tutorial Ep. 9 - If Statements | Branching Code
Kody Simpson
In this episode of the Java series, I show you how to use if statements in detail. I demonstrate using conditions with if statements to take your program in a certain direction, how to use else and else-if statements, how to nest, and finally how to use single-line if branches. #Java #JavaTutorial
Blog Article: https://simpson.hashnode.dev/java-if-statements Code: https://github.com/Java-Complete-Tutorial/if-statements Join the Community! - https://discord.gg/cortexdev
Want to Support the Channel? Become a Member: https://www.youtube.com/channel/UC_LtbK9pzAEI-4yVprLOcyA/join or: https://paypal.me/kodysimpson?locale.x=en_US
My Socials: Github: https://github.com/KodySimpson Instagram: https://www.instagram.com/kody_a_simpson/ Twitter: https://twitter.com/kodysimp
00:00 Intro 00:12 Explaining If Statements 01:33 Examples of If Statements 04:22 Running the code with 1 If statement 05:12 Cat review 05:22 Examples of If Statements 06:57 Running the code with 2 If statements 07:02 Else 07:35 Running the code with an else 08:02 Using the previous example with else 08:25 Running the 2nd code with an else statement 08:55 Making If statements with multiple conditions 11:25 Running the code with multiple else if statements 11:33 Explaining the else if statements 13:50 Explaining nested If statements 14:30 Making nested If statements 15:05 Running the code with Nested If statements 15:10 Explaining nested If statements 16:05 Explaining single line If statements 19:00 Article Announcement 19:30 What you have learned in this video 19:55 Outro, Become a Member to gain swag!
More Videos coming soon. Leave a comment for any future video suggestions. ... https://www.youtube.com/watch?v=BZbPSpgPsVs
126336859 Bytes