how to use if and if 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");
}