Data Type Java Tutorial

An automatic type conversion will take place if the following two conditions are met:
The two types are compatible.
The destination type is larger than the source type.