当前位置:文档之家› java软件工程师笔试试题

java软件工程师笔试试题

JA V A编程方面
1.Java中switch是否能作用在byte上,是否能作用在long上,是否能作用在String上?(3’)
2.Java中String 对象能否被继承?STRING与STRINGBUFFER的区别?(6’)
3.说说你熟悉的几种Java的常用设计模式,一般在哪种情况下用到这些设计模式?你对设
计模式有什么看法?用java实现一个单例模式?(12’)
4.abstract class和interface有什么区别?(5’)
5.说说你所知道的java解析XML的方法。

(4’)
6.简述ArrayList和Vector的区别,HashMap和Hashtable的区别。

(20’)
7.写一个Javascript函数,返回指定的英文句子中的每个单词及其字符的起止位置。

例:”Th at is right.”应依次返回”Th at 0-4”, ”is 5-7” ,”right 8-13”(15’)
8.当一个对象被当作参数传递到一个方法后,此方法可改变这个对象的属性,并可返回变
化后的结果?那么这里到底是值传递还是引用传递? (5’)
数据库方面
1.事务是什么?(5’)
2.Oracle中有2张表格T1和T2,如下所示:
T1
A B C
1 1 1
1 21 1
12 21 1
12 1 Null
12 41 2
12 4 3
T2
A B C
12 1 5
13 1 1
14 2 2
22 5 2
2 16 1
请问select * from T2 where c not in (select c from T1)结果是什么?(10’)
英文翻译(15’)
Foremost amongst these is the Spring Framework's Inversion of Control (IoC) container. A thorough treatment of the Spring Framework's IoC container is closely followed by comprehensive coverage of Spring's Aspect-Oriented Programming (AOP) technologies. The Spring Framework has its own AOP framework, which is conceptually easy to understand, and which successfully addresses the 80% sweet spot of AOP requirements in Java enterprise programming.
Coverage of Spring's integration with AspectJ (currently the richest - in terms of features - and certainly most mature AOP implementation in the Java enterprise space) is also provided.。

相关主题