2021-2022计算机二级等级考试试题及答案No.12030.docxVIP

  • 2
  • 0
  • 约9.6千字
  • 约 27页
  • 2021-11-01 发布于四川
  • 举报

2021-2022计算机二级等级考试试题及答案No.12030.docx

1. 关于以下application的说明,正确的是() 1. class StaticStuff 2.{ 3.atic int x=10; 4.statici xt=5;} 5.public static void main (String args[ ]) { 6.System. out.println(“x=”+ x); 7.} 8.static { x/=3 ;} 9.} A.4行与8行不能通过编译,因为缺少方法名和返回类型 B.8行不能通过编译,因为只能有一个静态初始化器 C.编译通过,执行结

文档评论(0)

1亿VIP精品文档

相关文档