A.1000 B.2000 C.3000 D.4000
多项选择题执行下列代码后,哪个结论是正确的?() String[]s=newString[10];
A.s[10]为"" B.s[9]为0 C.s[9]为null D.s.length为10
多项选择题以下赋值语句,错误的是:()
A.charc1=’\"’; B.Charc3=’x’; C.charc4=’’; D.charc5=65;
多项选择题下面那条语句编译不会出现错误?()
A.Booleanb=newBoolean("abcd"); B.floatf=123; C.byteb=127; D.intx=(int)(1.23);
多项选择题下面哪些方法可以得到昨天的当前时间?() Calendarcal=getCalendar(); 这里填写什么??? System.out.println(cal.getTime());
A.cal.add(Calendar.DATE,-1); B.cal.add(Calendar.DAY_OF_MONTH,-1); C.cal.add(Calendar.DAY_OF_WEEK,-1); D.cal.add(Calendar.DAY_OF_YEAR,-1);
单项选择题Floats=newFloat(0.9F);Floatt=newFloat(0.9F);Doubleu=newDouble(0.9);下列哪个表达式的结果是true?()
A.s==t B.s.equals(t) C.s==u D.t.equals(u)
多项选择题Which of the following will definitely stop a thread from executing?()
A.wait() B.notify() C.yield() D.suspend() E.sleep()
多项选择题The ThreadGroup class instance()
A.Allows threads to be manipulated as group B.Provides support for ThreadDeath listeners C.May contain other ThreadGroups D.Must contain threads of the same type
多项选择题下面哪些是J2EE中的23种设计模式?()
A.Adapter B.Observer C.Bridge D.Singleton
多项选择题log4j中输入日志有哪些级别设置?()
A.INFO B.DEBUG C.FATAL D.WARN
单项选择题|DF|A3.split( | ).length的结果是()
A.3 B.4 C.5 D.6 E.7