在线名词解释大全 - java语言期末 - 详细

阅读下列的程序classPerson{static{System.out.println(name);}privatestaticStringname="hello";}classDemo{publicstaticvoidmain(String[]args){Personp=null;}}

A
无结果输出
B
输出 null
C
输出 hello
D
编译失败
正确答案:
相关推荐
扫描二维码
关注公众平台