前者先cast 3为double则double除以int,int转换为double,两double相除得double,所以小数结果0.75
后者先3/4两int相除得int,结果0.75取整得0,再cast为double还是0