Java : if Statement
Java : if Statement
The if-statement is a decision-making statement, used to control the program flow based on some conditional statements. If the execution result of the statement is true then only the block associated with if-statement will execute otherwise skipped. This if-statement is the simplest way to modify the control execution flow of the program. Syntax:
if(test_expression) { statement 1; statement…
View On WordPress

















