17 Java - Control Flow Statements
Decision Making Statements
If then (Simple if)
If Condition is true, then if-block will get executed.
if(boolean condition){
//Code here get executed when condition is true
}
if-else
If condition is true, if-block will get executed else if co...
chetan77.hashnode.dev6 min read