Home / Programming MCQs / JAVA MCQs / Question

Q. In a lossy Type Casting or Type Conversion, how is the number truncated to the target data type in Java?

(A) That big number is divided by the target data type highest possible number say 2^N.
(B) That big number is Modulo Divided by the target data type highest possible number say 2^N and the Remainder is taken.
(C) That big number is Modulo Divided by the target data type highest possible number say 2^N and the Quotient is taken.
(D) None of the above

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.