title: Is there any difference between the Java and C++ operators?
body: <p>If you take Java's primitive numeric types, plus boolean, and compare it to C++ equivalent types, is there any difference what concerns the operators, like precedence rules or what the bit-manipulation operators do? Or the effect of parenthesis?</p>
  
  <p>Asked another way, if I took a Java expression and tried to compile and run it in C++, would it always compile and always give the same result?</p>