Sometimes i used to use if branch, sometimes AND operand. But i feel they are both same. What their different actually? Any there example case which i must use that ONE only?
For example:
//Defining variable
a=2
b=3
if(a==2){
if(b==3){
println("OK");
}
}
It's equal with
if (a==2 && b==3){
println("OK");
}