题目内容

执行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. 不确定

3-1-1)在运用KVL时,回路的绕行方向()。

A. 必取顺时针方向
B. 必取逆时针方向
C. 是任意的

答案查题题库