how to write or in if statement java code example
Example: if statement in java
int x = 3;
if (x<=3){
System.out.println("Hello World");
}
else {
System.out.println("Bye World");
}
int x = 3;
if (x<=3){
System.out.println("Hello World");
}
else {
System.out.println("Bye World");
}