Question: what is the difference between double and double in java?
Answer: 1 Answer. Double is an object and double is a primitive data type. ... The Double class wraps a value of the primitive type double in an object. An object of type Double contains a single field whose type is double.