Computer Applications
Which of the following type conversions in Java will result in a loss of precision?
Values & Data Types Java
1 Like
Answer
double to int
Reason — A double may have a fractional part, which is truncated when converting to int, resulting in a loss of precision.
Answered By
2 Likes