电容容量表示是“103”,表示电容的容量正确的是:
A. 0.01μF
B. 10nF
C. 0.01nF
D. 1nF
查看答案
电容容量表示是“226”,表示电容的容量正确的是:
A. 22000nF
B. 22μF
C. 2.2μF
D. 220μF
下列 String 类的() 方法返回指定字符串的一部分(选择一项)
A. extractstring()
B. substring()
C. Substring()
D. Middlestring()
对于下列代码:public class Example{String str=new String("hello");char ch[]={'d','b','c'};public static void main(String args[]){Example ex=new Example();ex.change(ex.str,ex.ch);System.out.println(ex.str+" and "+ex.ch[0]);} public void change(String str,char ch[]){str="world";ch[0]= 'a';}}输出的结果是:()
A. hello and d
B. hello and a
C. world and d
D. world and a
给定下列程序:public class Test{public static void main(String args[]){String str=new String("World");char ch[]={'C','e','l','l','o'};change(str,ch);System.out.println(str+"and"+ch);} public static void change(String str,char ch[]){str="Changed";ch[0]='H';
A. World and Cello
B. World and Hello
Changed and Hello
D. Changed and Cello