If-Else
Conditional logic means to execute an operation depends on its prerequisite conditions. For example, if school is closed tomorrow, then we will play.
in java, if-else logic follows this pattern:
A very simple program :
if(condition){
//statement
}
else
… Read more