1、因爲if只是簡單的測試表達式的數值,所以某些縮短是可以的, if (expression) instead of if (expression != 0) 2、It is a good idea to
conditional expression: expr1 ? expr2 : expr3 首先計算expr1,如果結果爲真,則計算expr2,其結果也爲條件表達式的值;否則,計算expr3,其結果爲條件表達式的值。
break:cause the innermost enclosing loop or switch to be exited immediately. continue: cause the next iteration of th