What is the data type for the number 9.6352?
-
float
-
double
-
Float
-
Double
B
Correct answer
Explanation
In Java, any decimal literal like 9.6352 is by default of type double, which is a 64-bit floating-point type. The float type (32-bit) exists but requires an 'f' suffix (e.g., 9.6352f). The capitalized versions 'Float' and 'Double' refer to wrapper class objects, not primitive types. So 9.6352 is implicitly a double.