Is there any difference between the Java and C++ operators?

前端 未结 6 962
后悔当初
后悔当初 2021-01-12 00:16

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

6条回答
  •  囚心锁ツ
    2021-01-12 00:37

    There must be lot of difference, because in Java almost all numeric types are always signed. Read Java Puzzlers book and Java Language Specification to understand all the subtle differences.

提交回复
热议问题