在這個程式片段中, a 是 int 型態,而寫下的3.14預設是 double ,所以 a 的值被提 ... 型態,但Java在運算整數時,如果全部的運算元都是不大於 int ,那麼一律在 int ...
確定! 回上一頁