设float a;,执行表达式(double)a后,a的类型是_______。

设float a;,执行表达式(double)a后,a的类型是_______。
【正确答案】:double
【题目解析】:执行表达式(double)a完成的功能是把a的数据类型强制转换为double。