移动端

  • 题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

其他类 | 计算机考试

模式切换

0 0 0
我的错题 我的收藏 学习笔记

单选题 Which is a method of the MouseMotionListener interface?()

A

 Public void mouseMoved(MouseEvent)

B

 Public boolean mouseMoved(MouseEvent)

C

 Public void mouseMoved(MouseMotionEvent)

D

 Public boolean MouseMoved(MouseMotionEvent)

E

 Public boolean mouseMoved(MouseMotionEvent)

单选题 以下代码将打印出()。

A

com. Jd

B

com/jd/MyClass.class

C

///////MyClass.class

D

com.jd.MyClass

单选题 Given classes defined in two different files: 1.package util; 2.public class BitUtils{ 3.private static void process(byte[]b){} 4.} 1.package app; 2.public class SomeApp{ 3.public static void main(String[]args){ 4.byte[]bytes=newbyte[256]; 5.//insert code here 6.} 7.} What is required at line 5 in class SomeApp to use the process method of BitUtils?()

A

process(bytes);

B

BitUtils.process(bytes);

C

app.BitUtils.process(bytes);

D

util.BitUtils.process(bytes);

E

importutil.BitUtils.*;process(bytes);

F

SomeApp cannot use the process method in BitUtils.

多选题 Which the following two statements are true?()

A

 An inner class may be declared as static.

B

 An anonymous inner class can be declared as public.

C

 An anonymous inner class can be declared as private.

D

 An anonymous inner class can extend an abstract class.

E

 An anonymous inner class can be declared as protected.

多选题 Which two interfaces provide the capability to store objects using a key-value pair?()

A

 Java.util.Map.

B

 Java.util.Set.

C

 Java.util.List.

D

 Java.util.StoredSet.

E

 Java.util.StoredMap.

F

 Java.util.Collection.

单选题 Given that the current directory is empty, and that the user has read and write permissions, and the following: Which statement is true?()

A

Compilation fails.

B

The file system has a new empty directory named dir.

C

The file system has a new empty directory named newDir.

D

The file system has a directory named dir, containing a file f1.txt.

E

The file system has a directory named newDir, containing a file f1.txt.

多选题 Given that a scoped attribute cart exists only in a user’s session, which two, taken independently, ensure the scoped attribute cart no longer exists?()

A

 ${cart = null} 

B

 <c:remove var=cart /> 

C

 <c:remove var=${cart} /> 

D

 <c:remove var=cart scope=session /> 

E

 <c:remove scope=session>cart</c:remove> 

F

 <c:remove var=${cart} scope=session /> 

G

 <c:remove scope=session>${cart}</c:remove>

单选题 int x= 10;  do {  x--;  } while(x< 10);  How many times will line 37 be executed?() 

A

 ten times

B

 zero times

C

 one to me times

D

 more than ten times

1 2 3 4 5 下一页 尾页 /

到第