单选题 下列能正确计算45°的余弦值的是( )。
【正确答案】 C
【答案解析】[解析] public static double cos(double a)是Math类中返回以弧度a为单位的cos值的,应先用toRadians ()方法将45度转换为弧度值。