Which of the following statements is false?

a. A floating-point number is a number with a decimal point.
b. Java provides two primitive types for storing floating-point numbers in memory—float and double.
c. Variables of type float represent single-precision floating-point numbers and have seven significant digits.
d. Variables of type double represent double-precision floating-point numbers; these require twice as much memory as float variables and provide 14 significant digits.

Variables of type double represent double-precision floating-point numbers; these require twice as much memory as float variables and provide 14 significant digits. Actually, variables of type double provide 15 significant digits.

Computer Science & Information Technology

You might also like to view...

If you want to be able to use a form of optical media (such as a CD or DVD) that you can write to as many times as you like, your media should be in ________ format

Fill in the blank(s) with correct word

Computer Science & Information Technology

Multiple objects on a slide can be aligned and distributed precisely using commands on the Ribbon

Indicate whether the statement is true or false

Computer Science & Information Technology