You can always assign a value of long type to a variable of int type without loss of precision.
查看答案
You can always assign a value of int type to a variable of long type without loss of information.
A.true
B.false
Which of these data types requires the most amount of memory?
A.byte
B.short
C.long
D.int
If a number is too large to be stored in a variable of the float type, it _____________.
A.cannot happen in Java
B.causes overflow
C.causes underflow
D.causes no error
Are the following four statements equivalent? number += 1; number = number + 1; number++; ++number;
A.Yes
B.No