Sail E0 Webinar
Question
Double is a ______ data type.
Options:
A .  system defined
B .  primitive
C .  user defined
D .  local
Answer: Option B
Answer: (b)
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.

Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers