example of if else if statement in java
Example: if statement java
int x = 3;
if (x == 3) {
// block of code to be executed if the condition is true
}
int x = 3;
if (x == 3) {
// block of code to be executed if the condition is true
}