What is the result of casting a `double` to an `int` in Java?
Casting a `double` to an `int` in Java truncates the decimal part and keeps the integer part.
Well done! You've correctly explained what happens during casting.
Can you provide an example of this in Java code?