type Casting in Java.

In Java, The process of converting the value of one data type int, float, double etc. to another data type in both ways manually and automatically is known as typecasting.

Code :