Question: Explain why Java forces you to use type casting if you want to assign a value of type double to a variable of type int.
Explain why Java forces you to use type casting if you want to assign a value of type double to a variable of type int.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
