电路中串联的电阻越多,其等效电阻() A.越大 B.越小 C.不变 D.不能确定

题型:单项选择题

问题:

电路中串联的电阻越多,其等效电阻()

A.越大

B.越小

C.不变

D.不能确定

考点:检车员考试客车检车员中级工客车检车员中级工题库
题型:单项选择题

体表具有坚硬外骨骼的生物类群是 [ ]

A.软体动物   

B.爬行动物   

C.节肢动物   

D.哺乳动物

题型:单项选择题

在结账前发现账簿记录有文字或数字错误,而记账凭证没有错误应采用()。

A.划线更正法

B.红字更正法

C.补充登记法

D.平行登记法

题型:单项选择题

请完成程序,首先由一个类simple实现Serializable接口,并有三个成员变量,分别为int型、double型和String型,可以用toString的方法显示这三个成员变量。在main方法中创建这个simple的持久对象,根据用户在命令行输入的三个参数来设定其中成员变量的值。然后,将这个对象写入名为TheSerial.data的文件中,并显示成员变量。最后从文件TheSerial.data中读出三个成员变量并显示出来。
注意:请勿修改main()主方法和其他已有语句内容,仅在横线处填入适当语句。
import java.io.*;
class TheSerial implements Serializable

private int intvalue;
private double doublevalue;
private String string;
The Serial ()

intvalue=123;
doublevalue=12.34;
string="Serialize Test";

public void setDouble(double d)

doublevalue=d;

public void setInt(int i)

intvalue=i;

public void setString(String s)

string=s;

public String to String()

return("int="+intvalue+" double="+doublevalue+" string="+string);


public class simple

public static void main(String[] args)

The Serial e1=new TheSerial();
TheSerial e2;
try

e1.setInt(Integer.parseInt(args[0]));
e1.setDouble(Double.parseDouble(args[1]));
e1.setString(args[2]);

catch(Exception e)

e1.setString(e.getMessage());

System.out.println(e1);
try

FileOutputStream oS=new FileOutputStream("TheSerial.data");
ObjectOutputStream oOS=new ObjectOutputStream(oS);
______;

catch(IOException ioException)

System.out.println (ioException.getMessage ());

try

FileInputStream iS=new FileInputStream("TheSerial.data");
ObjectInputStream oIS=new ObjectInputStream(iS);
______;
System.out.println(e2);

catch(IOException ioException)

System.out.println(ioException.getMessage());

catch(ClassNotFoundException cnfException)

System.out.println(cnfException.getMessage());


题型:单项选择题

在申报“国家卫生城市”必备的条件中,城市生活垃圾无害化处理率≥()。

A.60%

B.70%

C.80%

D.90%

题型:单项选择题

隧底开挖轮廓和底部高程应符合设计要求,隧底范围石质坚硬时,岩石个别突出部分(每1m2不大于0.1m2)侵入衬砌应小于()cm。拱脚和墙脚以上1m内断面严禁欠挖。

A.5

B.10

C.15

D.3

更多题库