simple nested if program in java code example
Example: nested if statement in java
if(something){
if(somethingElse){
doSomething();
}//else (if) block possible here
}//else (if) block possible here
if(something){
if(somethingElse){
doSomething();
}//else (if) block possible here
}//else (if) block possible here