Multiple choice

The number of bytes needed to store a number of double data type is

  1. Compiler dependent

  2. JVM dependent

  3. Operating system dependent

  4. 8

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

It holds 8 bytes(64-bits) memory to store a value of a variable. Its range is from -1.79769313486232E308 to -45841247E-324 for negative values and 4.94065645841247E-324 to 1.79769313486232E308 for positive values.