Which of the following data type stores longest floating-point value?
A. boolean
B. double
C. float
D. long
Answer:A
Which of the following data type stores longest floating-point value?
A. boolean B. double C. float D. long
Explanation: ‘double’ is the longest data type with 64-bit defined by Java to store floating-point values. Sanfoundry Global Education & Learning Series – Object Oriented System Design.