Advertisements
Advertisements
Question
Identify the primitive.
Options
double
Double
DOUBLE
DoublЕ
MCQ
Advertisements
Solution
double
Explanation:
double is a primitive data type in Java used to store decimal (floating-point) values. Double is a wrapper class, while DOUBLE and DoublE are not Java primitive data types.
shaalaa.com
Is there an error in this question or solution?
Chapter 5: Library Classes - Exercises [Page 133]
