Google News
logo
Computers - General Knowledge Questions
Double is a ______ data type.
A)
local
B)
user-defined
C)
primitive
D)
system defined

Correct Answer :   primitive

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. In addition, this class provides several methods for converting a double to a String and a String to a double, as well as other constants and methods useful when dealing with a double.

Published On : June 15, 2021
Advertisement