To type cast an `int` to a `double` in Java, you can either let Java handle it automatically (implicit casting) or explicitly specify the conversion (explicit casting).
Implicit casting occurs when an `int` is assigned to a `double` variable because a `double` can store larger and more precise values.
Explicit casting involves manually specifying the conversion using `(double)` before the `int` value. Both approaches achieve the same result.