if condition in java with or code example
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
}