Java - Data Types - Interview Questions and Answers on Double

Q1.  What are the Wrapper classes available for double primitive type ?

Ans. java.lang.Double

Q2.  What is the default assigned values for double in java ?

Ans. 0.0d

Q3.  What is the difference between float and double?

Ans. Float can represent up to 7 digits accurately after decimal point, where as double can represent up to 15 digits accurately after decimal point.

Q4.  What is the size of double type ?

 a. 16 bit
 b. 32 bit
 c. 64 bit
 d. 128 bit

Ans. 64 bit