Java data types conversion.