填空题
本题中,在下画线上填写代码,指定变量b为字节型,变量f为单精度实型,变量l为64位整型。
public class java1
public static void main(String[] args)
______b=49;
______f=8.9f;
______1=0xfedl;
System. out. println("b="+b);
System. out. println("f="+f);
System. out. println("1="+1);
【参考答案】
第1处:byte
第2处:float
第3处:long