下载此文档

中兴软创笔试题 一、选择题.pdf


文档分类:通信/电子 | 页数:约16页 举报非法文档有奖
1/16
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/16 下载此文档
文档列表 文档介绍
中兴软创笔试题
一、选择题
java 中, * 结果等于多少?
A、 B、60 C、 D、
a = ‘A’,请问 (a)打印出什么?
A、65 B、A C、a D、97
((“+1″))这句话执行会出
现什么异常?
A、Number Format Exception B、Null Point Exception
如何获得客户端的 IP 地址?
A、()
B、(“REMOTE_ADDR”)
a=new String(“foo”);
String b=new String(“foo”);
请问 (a1= =b1)打印出什么?
A、true B、false C、1 D、0
()的值是多少?
A、11 B、 C、12 D、
MenuBar 加入 Frame 中?
A、setMenu()
B、setMenuBar()
C、add()
D、addMenuBar()
of the following lines of code pile without
error?(多选题)
A、
int i=0;
if (i) {
(“Hi”);
}
B.
boolean b=true;
boolean b2=true;
if(b= =b2) {
(“So true”);
}
C.
int i=1;
int j=2;
if(i==1|| j==2) (“OK”);
D.
int i=1;
int j=2;
if (i==1 &| j==2) (“OK”);
路径太深文件名太长就无法读取文件,jsp 路径最大长度是多
少?
A、127 B、255 C、512 D、1024
the following code:(多选)
Integer s = new Integer(9);
Integer t = new Integer(9);
Long u = new Long(9);
Which test would return true?
A、(s==u)
B、(s==t)
C、((t))
D、((9))
E、((new Integer(9))
二、填空题(4′×5,每题4′)
(1) String s = “Hello”;
String s1 = s;
s = s + ” world!”;
请问 s 的值是____Hello Would!_ ________, s1 的值是___Hello_
________。
(2)一个数据库表 A(name varchar(10),age int),请写出一个 SQL
语句,按照 age 排序查出年龄最大的10条记录数___select * top 10
from A order by age DESC
______________________________________ 。
(3)String str = “hello world!”,请问 substring(2,5)的值是
__llo_ ______。
(4)String str = “abcdef”,int i1=(‘d’,4),int
i2=(‘d’,2),请问 i1=_____-1_ ;i2=__3__。
(5)hashmap 和 hashtable 区别
_hashmap 允许有空值,hashtable 不允许,hasptable 允许线程同步
___________________________________________________________
__________
三、改错题(10′×2)
(1)
interface A {
int y = 0;
}
class B {
int x = 1;
}
class C extends B implements A {
publ

中兴软创笔试题 一、选择题 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数16
  • 收藏数0 收藏
  • 顶次数0
  • 上传人vip_130_cool
  • 文件大小0 KB
  • 时间2015-04-26