Which type of casting is lossy in Java?

18. Which type of casting is lossy in Java?

  1. Widening typecasting
  2. Narrowing typecasting
  3. Manual typecasting
  4. All of these

Answer: B) Narrowing typecasting

Explanation:

In Narrowing typecasting data loss is there.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.