java面试题之十二:其他

十二. 其他

1、请用英文简单介绍一下自己.

4、WEB SERVICE 名词解释。JSWDL 开发包的介绍。JAXP、JAXM 的解释。SOAP、UDDI,WSDL

解释。

2、请把http://tomcat.apache.org/ 首页的这一段话用中文翻译一下?

Apache Tomcat is the servlet container that is used in the official Reference Implementation for the

Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications

are developed by Sun under the Java Community Process.

Apache Tomcat is developed in an open and participatory environment and released under the Apache

Software License. Apache Tomcat is intended to be a collaboration of the best-of-breed developers

from around the world. We invite you to participate in this open development project. To learn more

about getting involved, click here.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range

of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki

page.

3、美资软件公司JAVA 工程师电话面试题目

1. Talk about overriding, overloading.

2. Talk about JAVA design patterns you known.

3. Talk about the difference between LinkList, ArrayList and Victor.

4. Talk about the difference between an Abstract class and an Interface.

5. Class a = new Class(); Class b = new Class();

if(a == b) returns true or false, why?

6. Why we use StringBuffer when concatenating strings?

7. Try to explain Singleton to us? Is it thread safe? If no, how to make it thread safe?

8. Try to explain Ioc?

9. How to set many-to-many relationship in Hibernate?

10. Talk about the difference between INNER JOIN and LFET JOIN.

11. Why we use index in database? How many indexes is the maximum in one table as your

suggestion?

12. When ‘Final’ is used in class, method and property, what dose it mean?

13. Do you have any experience on XML? Talk about any XML tool you used ,e.g. JAXB, JAXG.

14. Do you have any experience on Linux?

15. In OOD what is the reason when you create a Sequence diagram?

Administrator 10:34:20

1,堆和栈的区别,有一个64k 的字符串,是放到堆上,还是放到栈上,为什么?

2,什么时候用到接口,什么时候用到抽象类,二者区别

3,有一个100 万的数组,里边有两个市重复的,如何设计算法找到。

4,设计数据库时,n 维,如何设计。

例如[省份][城市][网吧],这是三维关系,它的表也应该有三个,网吧有外键引用城市,城市有

外键应用省份,这个规律就是下层的要有一外键去引用上层。__

 

Id�t-p��|t-kerning:0pt'>request 是是代表与Web 客户机发出的一个请求相关的对象和属性。一个请求可能跨越多个页

 

面,涉及多个Web 组件(由于forward 指令和include 动作的关系)

session 是是代表与用于某个Web 客户机的一个用户体验相关的对象和属性。一个Web 会话

可以也经常会跨越多个客户机请求

application 是是代表与整个Web 应用程序相关的对象和属性。这实质上是跨越整个Web 应用

程序,包括多个页面、请求和会话的一个全局作用域

7、简述逻辑操作(&,|,^)与条件操作(&&,||)的区别。

区别主要答两点:a.条件操作只能操作布尔型的,而逻辑操作不仅可以操作布尔型,而且可以操作

数值型

b.逻辑操作不会产生短路

posted on 2012-11-25 22:34  YangJin  阅读(412)  评论(0编辑  收藏  举报