Home / Report 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

Correct Answer: B