An if statements tests a particular condition, if the condition evaluates to true, a course of action is followed a statement or set of statements is executed. Otherwise ( if the condition evaluates to false ), the course of action is ignored.
|
|
The if-else statement is if you have seen so far allow you to execute a set of statements if a condition or expression evaluates to true. What if there is another course of action to be allowed if the expression evaluates to false. There is another form of if that allows for this of either-or condition by providing else clause.
|
|
We Are Currently Working On Our Android Application Development and We already have two YouTube channels their name is CodeX or NightHawk. CodeX is for programming related videos and NightHawk is for online game streaming so please supporting us and Subscribe to our channels, Thank you