题目内容

若有定义String key ="我是信工学院的学生";则key.length()的值是

A. 0
B. 9
C. 10
D. 18

查看答案
更多问题

执行StringBuffer s = new StringBuffer("abc"); s.insert(1,"Good"); s的正确结果是()

A. s="aGoodbc"
B. s="abcGood"
C. s="Goodabc"
D. s="abGoodc"

下面哪段语法执行正确? (多选)

A. String s = "Gone with the wind";String t = " good ";String k = s + t;
B. String s = "Gone with the wind";String t;t = s[3] + "one";
C. String s = "Gone with the wind";String standard =s.toUpperCase();
D. String s = "home directory";String t = s - "directory";

2-1-2)一有伴电压源等效变换为一有伴电流源后( )。

A. 对内部电路的电压、电流和功率相同
B. 对内部电路的电压和电流相同
C. 对外部电路的电压、电流和功率相同
D. 对内部电路的电流相同

将标明220V、60W的灯泡接在电压低于220V的电源上,灯泡实际消耗的功率:( )

A. 大于60W
B. 小于60W
C. 60W
D. 不确定

答案查题题库