Performing Conversions
In Java, conversion between one data type and another can occur three ways
Assignment conversion - when a value of one type is assigned to a variable of another type
Arithmetic promotion - occurs automatically when operators modify the types of their operands
Casting - an operator that forces a value to another type