State one difference between the floating point literals float and double.

Single Choice
Views 87

Answer:

float literals double literals
float literals have a size of 32 bits so they can store a fractional number with around 6-7 total digits of precision. double literals have a size of 64 bits so they can store a fractional number with 15-16 total digits of precision.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.