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