[范文] RandomAccessFile类中()方法返回文件的长度 日期:2023-03-22 18:52:56 点击:181 好评:0
21. RandomAccessFile类中()方法返回文件的长度 A. long length( ) B. long size( ) C. long fileLength( ) D. long getLength( ) ...
[范文] 在Java中,定义为类类型的变量实际上并不保存对象数据。变量只用 日期:2023-03-22 18:50:54 点击:50 好评:0
8. 在Java中,定义为类类型的变量实际上并不保存对象数据。变量只用来标识一个实际对象。这种类型的变量称作() A. 复合数据类型 B. 类 C. 对象 D. 成员 E. 引用 ...
[范文] int elements[]={1,2,3,4,5,6}; int hold[]={10,9,8,7,6,5,4,3,2 日期:2023-03-22 18:49:38 点击:175 好评:0
48. int elements[]={1,2,3,4,5,6}; int hold[]={10,9,8,7,6,5,4,3,2,1}; System.arraycopy(elements,0,hold,0,elements.length); hold[3]的值是() A. 3 B. 4 C. 7 D. 8 ...
[范文] String t="This is the ";String s="String" t+=s;t的内容是 日期:2023-03-22 18:48:22 点击:53 好评:0
39. String t="This is the ";String s="String" t+=s;t的内容是() A. This is th String B. This is the C. String D. String This is the ...
[范文] 当浏览器终止Applet时,()函数被调用。 日期:2023-03-22 18:47:10 点击:178 好评:0
33. 当浏览器终止Applet时,()函数被调用。 A. init( ) B. start( ) C. stop( ) D. destroy( ) ...
[范文] 如果一个类中定义了如下3个方法,则() public void print(int 日期:2023-03-22 18:46:28 点击:117 好评:0
20. 如果一个类中定义了如下3个方法,则() public void print(int i) public void print(float f) public void print(String s) A. 正确 B. 错误,方法名不能相同 C. 错误,如果方法名相同,参数名也应该相同 D. 错误,重载的方法的参数不能为类 ...
[范文] 在Applet中进行图像显示时,首先使用Applet类的getImage()方法装 日期:2023-03-22 18:42:37 点击:95 好评:0
31. 在Applet中进行图像显示时,首先使用Applet类的getImage()方法装载一个Image对象,然后使用()类的drawImage()方法将该对象画到屏幕上 A. applet B. image C. frame D. Graphics ...
[范文] 从网络中一台不同类型的计算机上读取数据,需要用明确的字符编码 日期:2023-03-22 18:41:13 点击:72 好评:0
25. 从网络中一台不同类型的计算机上读取数据,需要用明确的字符编码方式来构造(),否则会引起错误。 A. InputStreamReader B. InputStreamWriter C. OutputStreamReader D. OutputStreamWriter ...
[范文] ()是组成对象的元素。 日期:2023-03-22 18:39:53 点击:61 好评:0
18. ()是组成对象的元素。 A. 复合数据类型 B. 类 C. 对象 D. 成员 E. 引用 ...
[范文] int elements[]=new int[6];elements=new int[10]; 第二句话的意 日期:2023-03-22 18:38:38 点击:138 好评:0
12. int elements[]=new int[6];elements=new int[10]; 第二句话的意义是() A. 将数组elements的大小扩大到10 B. 将数组elements的大小扩大10 C. 声明一个新的大小为10的数组 D. 声明一个新的大小为16的数组 ...