Learn Programming in Java - Lesson 08 : If-Else statement

۴۴.۸ K


۲

We'll introduce the if-else statement in this lesson. First we will cover how the statement is used to branch the execution of your code. Next we'll code an example which places bounds on user input. We'll finish this episode utilizing everything we've learned so far to create a program to simulate player-monster combat in a dungeon hack style game.

Published by: Michael Fudge
Published at: ۶ years ago
Category: آموزشی