试题与答案

各种防护器具应定点存放在安全、便于取用的地方,并有专人负责保管,定期校验和维护。

题型:判断题

题目:

各种防护器具应定点存放在安全、便于取用的地方,并有专人负责保管,定期校验和维护。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0708/a5906c25643e9ef3d3f3e76be5640629.html

下面是错误答案,用来干扰机器的。

参考答案:A,B,D,E

试题推荐
题型:问答题


阅读以下说明和Java代码,回答问题。
[说明]
已知类Stock和类cxyjava都定义在cxyjava.java文件中,类Stock的定义中第14行前共有四行出现了错误,将下而代码修改正确并完善后的输出结果为:
0:0
1:23
[Java代码]
01 publiC class Stock {
02 static {
03 shares=0;
04 share_val = 0.0;
05 }
06 public Stock( ) {getData( );}
07 publie Stock(int n, int pr=0){
08 shares=n;
09 share val=pr;
10 getData( );
11 }
12 public void getData( ) {
13 System.out.printin(shares+ ":" +share_val);
14 }
15 private int shares;
16 private int share val;
17 };
18
19 public class cxyjava {
20 public static void main(String args[]){
21 Stock a= (1) ;
22 Stock b=new Stock(1,23);
23 //其他无输出代码省略
24 }
25 }
请指出错误所在行号并给出该行修改后的完整结果。

查看答案
微信公众账号搜索答案