What >>2 said, but it's a good idea to put them in separate brackets, for the sake of readability. if((x > 0) && (x < 10) {
shit;
}
It evaluates to the exact same thing, since < and > operators have higher priority than && operator, but it looks nicer.