All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reference.language.if-else.html Maven / Gradle / Ivy




    
    If else
    
    

    
    

    
    

    
    
    
    

    


If else statements

An if else statement is a way to change the flow of execution based on conditions.
The simplest if statement has the form if condition statements where condition is a boolean expression, and statements is a list of statements which will be executed whenever condition is true.


Optionally, an if else statement can comprise an else list of statements, which which will be executed whenever condition is true.



Additionally, an if else statement can comprise many else if condition list of statements, which which will be executed whenever condition is true.






© 2015 - 2025 Weber Informatics LLC | Privacy Policy