[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fmI0dbxe0kuWBT8ZyPrdOon-KTTM4BjMg9o592ZyS8Iw":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-12-22 19:26:24",173090769,[8,9,10,11],"if(a){}","if(a&lt;&lt;=3){}","if(a=2){}","if(true){}",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},79,"3743ed90644046e4073c1837d7450be9","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F5aacd25fbb461317dc0bb349bfc60e18.png","Java程序设计","work_39874951","Java作业1","假设a是int类型的变量,并初始化为1,则下列()是合法的条件语句",[21,26,35,45,54,63,72,81,87,96],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],173090770,[30,31,32,33],"switch语句的功能可以由 if&hellip;else if语句来实现","若用于比较的数据类型为double型,则不可以用switch语句来实现","if&hellip;else if语句的执行效率总是比switch语句高","case子句中可以有多个语句,并且不需要大括号{}括起来","下列说法中,不正确的一个是()",{"answer":36,"createTime":37,"id":38,"options":39,"question":44,"source":24,"type":25},[],"2024-12-22 19:26:25",173090771,[40,41,42,43],"整数型或小数型","整数型或逻辑型","整数型或字符型","循环型或整数型","switch语句中表达式的值可以是( )",{"answer":46,"createTime":37,"id":47,"options":48,"question":53,"source":24,"type":25},[],173090772,[49,50,51,52],"do-while循环","for 循环","while循环","以上都不对","哪种循环条件在条件表达式被计算之前至少执行循环体语句一次",{"answer":55,"createTime":37,"id":56,"options":57,"question":62,"source":24,"type":25},[],173090773,[58,59,60,61],"return","continue","break","exit","在JAVA中,( )关键字用来终止循环语句",{"answer":64,"createTime":37,"id":65,"options":66,"question":71,"source":24,"type":25},[],173090774,[67,68,69,70],"switch(x+y){}","switch(ch+1){}","switch ch{}","switch(a+b){}","设a、b为long型变量,x、y为float型变量,ch为char类型变量且它们均已被赋值,则下列语句中正确的是()",{"answer":73,"createTime":37,"id":74,"options":75,"question":80,"source":24,"type":25},[],173090775,[76,77,78,79],"x &gt;0","x &gt; -3","x &lt;= -3","x &lt;=0 &amp; x &gt;-3","给出下列代码片段: If ( x &gt; 0 ){ System.out.println(&quot;Hello.&quot;); } else if ( x &gt;-3 ) { System.out.pirntln ( &quot; I am Tom. &quot;); } else { System.out.println (&quot;How are you?&quot;); } 请问将打印字符串 &quot;How are you ?&quot;的x的范围是()",{"answer":82,"createTime":37,"id":83,"options":84,"question":86,"source":24,"type":25},[],173090776,[59,85,60,58],"while","以下语句哪个不是跳转语句( )",{"answer":88,"createTime":37,"id":89,"options":90,"question":95,"source":24,"type":25},[],173090777,[91,92,93,94],"31","0","1","2","下列表达式(11+3*8)\u002F4%3的值是()",{"answer":97,"createTime":37,"id":98,"options":99,"question":104,"source":24,"type":25},[],173090778,[100,101,102,103],"42","编译错误,更改为int c = (int)d\u002F2","43","编译错误,更改为int c = int(d)\u002F2","分析下面的代码,输出结果正确的是( ). double d = 84.54; d++; int c=d\u002F2"]