`
lvwenwen
  • 浏览: 959028 次
  • 性别: Icon_minigender_1
  • 来自: 魔都
社区版块
存档分类
最新评论

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

阅读更多
美资软件公司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维,如何设计。

1. Talk about overriding, overloading.
Overriding - same method names with same arguments and same return types associated in a class and its subclass. 
Overloading - same method name with different arguments, may or may not be same return type written in the same 

class itself.
static/early binding polymorphism:overloading 
dynamic/late binding polymorphism:overriding 

2. Talk about JAVA design patterns you known.
Creational Patterns 

Factory Pattern 
Abstract Factory Pattern 
Singleton Pattern 
Builder Pattern 
Prototype Pattern 

Structural Patterns 

Adapter Pattern 
Bridge Pattern 
Composite Pattern 
Decorator Pattern 
Facade Pattern 
Flyweight Pattern 
Proxy Pattern 

Behavioral Patterns 

Chain of Responsibility Pattern 
Command Pattern 
Interpreter Pattern 
Iterator Pattern 
Mediator Pattern 
Momento Pattern 
Observer Pattern
State Pattern 
Strategy Pattern 
Template Pattern
Visitor Pattern  

3. Talk about the difference between LinkList, ArrayList and Vector.
vector is synchronized, list is not
vector increases by 100%, list by 50%

4. Talk about the difference between an Abstract class and an Interface.
interface is the special instance of abstract class, it requires its methods(all just declaration) all 

implemented,not necessary for the abstract class. 

5. Class a = new Class(); Class b = new Class();
if(a == b) returns true or false, why?
false as they are different objects

6. Why we use StringBuffer when concatenating strings?
as it's mutable

7. Try to explain Singleton to us? Is it thread safe? If no, how to make it thread safe?
only one instance can live till it dies. no. use synchronized.

8. Try to explain Ioc?
inversion of control,just like the hollywood mode,when we need it we will call you not you call us.

9. How to set many-to-many relationship in Hibernate?
set a relationship table
for instance, set table A(id, name),B(id, name) many to many relationship,then set table AB(a_id, b_id) to 
represent their relation

10. Talk about the difference between INNER JOIN and LFET JOIN.
INNER JOIN-->return all rows from both tables where there is a match.
LEFT JOIN-->Return all rows from the first table, return rows from the second table where there is a match.

11. Why we use index in database? How many indexes is the maximum in one table as your suggestion?
A database index is a data structure that improves the speed of operations on a database table. Indices can be 
created using one or more columns of a database table, providing the basis for both rapid random lookups and 
efficient access of ordered records.

as many as necessary

12. When ‘Final’ is used in class, method and property, what dose it mean? 
final means last, cannot be extended, overridden,reassigned etc..

13. Do you have any experience on XML? Talk about any XML tool you used ,e.g. JAXB, JAXG.
yes,dom,sax,dom4j,jdom,etc...

14. Do you have any experience on Linux?
yes

15. In OOD what is the reason when you create a Sequence diagram?
A sequence diagram represents the interaction between different objects in the system. The important aspect of a 

sequence diagram is that it is time-ordered. This means that the exact sequence of the interactions between the 

objects is represented step by step. Different objects in the sequence diagram interact with each other by passing 

"messages".  
分享到:
评论

相关推荐

    Java面试宝典-经典

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...

    java面试题大全(2012版)

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...

    最新Java面试宝典pdf版

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...

    java面试宝典2012

    各种java面试题集,面试前必备哦, 1. Java基础部分 7 1、一个".java"源文件中是否可以包括多个类(不是内部类)?有什么限制? 8 2、Java有没有goto? 8 3、说说&和&&的区别。 8 4、在JAVA中如何跳出当前的多重嵌套...

    JAVA面试宝典2010

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...

    Java面试宝典2012新版

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...

    Java面试宝典2012版

    20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 ...

    java 美资企业英文面试题(2008超经典)

    以下是对给定面试题目的详细解答,这些题目主要关注垃圾回收机制、内存管理、事件处理以及监听器。 1. 垃圾收集机制(Garbage Collection, GC)是Java中的一个重要特性,用于自动回收不再使用的对象所占用的内存。...

    博朗软件公司的薪资.doc

    博朗软件公司是一家知名的美资外包软件企业,以其提供软件开发和服务而闻名。据描述,该公司为员工提供的是年薪6k*13的薪资结构,即年薪78,000元。对于初次获得正式工作机会的求职者来说,这样的薪资水平可能具有...

    美资企业内训资料.ppt

    这份“美资企业内训资料.ppt”主要探讨了在技术领域中,特别是制造业或供应链管理中的质量控制和供应商管理策略。其中的核心概念是6TOOL(Six Tool)方法论,这是一种旨在通过实时数据监控、分析和行动来提高组件...

    某大型美资企业ISO9000全套程序文件59.doc

    某大型美资企业ISO9000全套程序文件59.doc

    某大型美资企业ISO9000全套程序文件(DOC59).doc

    某大型美资企业ISO9000全套程序文件(DOC59).doc

    美资企业品质管理培训资料(英文版).pptx

    在美资企业的品质管理中,6TOOL是一种重要的质量流程工具,旨在通过监测、分析和对供应商提供的实时数据及材料采取行动,来提升组件的质量,特别是针对那些发现的缺陷部分。6TOOL的核心是OS&D(Over, Shortage & ...

    英文面试自我介绍3篇精选.doc

    5. 工作经历:介绍过去的工作经验,如在美资公司的经历,可以强调自己的实际操作能力和与外国人的沟通技巧,这对在跨国企业工作是非常有价值的。 6. 团队合作:强调团队合作精神,表明自己懂得如何与他人协作,这是...

    目前国内通信行业的发展以及薪资状况

    这些公司大多为美资,但管理层和员工以华人为主,体现了华人在这个领域的主导地位。行业内的公司规模虽有差异,但圈子相对较小,人才流动性较高。 【职业与学历需求】 在光通讯行业内,工程师通常分为两大类:一是...

    全易通指纹考勤管理系统软件V9.17

    软件历经几年在珠江三角洲几百家外资(港资,台资,日资,美资)和国内几万家企业的成功运行,利用最新的SQL SERVER技术,采用C/S结构,使用树形节点功能,设计开发出这套具有智能排班功能的人事考勤系统软件,本套人事考勤...

Global site tag (gtag.js) - Google Analytics