判断题

if(true){int i=100;} System.out.println(i);运行此程序的结果是输出100。

A

B

正确答案

来源:www.examk.com

答案解析

相似试题
  • 下列程序执行后的输出结果是() voidfunc1(inti); voidfunc2(inti); charst[]="hello,friend!"; voidfunc1(inti) {printf("%c",st[i]); if(i

    单选题查看答案

  • When joining a vessel,do not forget personal documents and your spectacles,and()if necessary.

    单选题查看答案

  • If the gyrocompass error is east,what describes the error and the correction to be made to gyrocompass headings to obtain true headings?().

    单选题查看答案

  • If the gyrocompass error is east,what describes the error and the correction to be made to gyrocompass headings to obtain true headings?()

    单选题查看答案

  • If the mooring order is “Get fenders ready fore and aft!”, the sailors fore and aft will ().

    单选题查看答案

  • If your vessel is underway in fog and you hear one prolonged and three short blasts,this indicates a().

    单选题查看答案

  • If your vessel is underway in fog and you hear one prolonged and three short blasts,this is a ().

    单选题查看答案

  • ()forms over land,most frequently during autumn and winter over low-lying land,especially if it is damp and marshy and in valleys on quiet nights with clear skies.

    单选题查看答案

  • When latitude and longitude are used,these shall be expressed in()(and decimals of a minute if necessary),north or south of the Equator and east or west of Greenwich.

    单选题查看答案