No, because double
uses 64 bits,
the equivalent of
about 15 decimal digits of precision.
NO Automatic Conversion |
---|
|
Unsafe conversions are not automatically performed, as shown in the above table.
Remember the sizes of the various primitive numeric types.
type | number of bits |
---|---|
byte | 8 |
short | 16 |
int | 32 |
long | 64 |
float | 32 |
double | 64 |
Click the correct button for the following type conversions. There is only one correct answer per row.