English

Identify the primitive. (a) double (b) Double (c) DOUBLE (d) DoublЕ

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]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 5 Library Classes
Exercises | Q 1. (iv) | Page 133
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×