Type Conversion and Casting in java
In java If the two types are compatible, then Java will perform the conversion automatically Example Assign an int value to a long variable Java’s Automatic Conversions When one type of data is assigned to another type of variable, an automatic type conversion will take place if the following two conditions are met The two … Read more