如果我有一行类似的代码
int s = (double) t/2
它是一样的吗?
int s = (double) (t/2)
要么
int s = ((double) t)/2
?
java casting
casting ×1
java ×1