samedi 3 août 2019

What if the meaning of that expression if(x > y / z)

I always know that if statement must have boolean expression.
but i saw this

if(x > y / z){
System.out.println("That is Correct ") ; 
}

Is not x>y boolean expression and /z mathematical operator ?!
how does this work . knowing that x , y and z are type int

Aucun commentaire:

Enregistrer un commentaire