- 浏览: 970982 次
- 性别:
- 来自: 魔都
-
文章分类
- 全部博客 (745)
- MultiThread (19)
- My Plan (118)
- JavaBasic (61)
- MyInterview (104)
- InternetTechnique (5)
- ProjectConclusion (1)
- Maven (5)
- MogoDb (5)
- Hadoop (11)
- Memcached (6)
- TechniqueCollect (1)
- Ibaits (1)
- Android (34)
- ItLife (40)
- Tree (2)
- ProjectArchitect (7)
- Open Source (3)
- liunx (5)
- socket (8)
- Spring (27)
- DesginPattern (35)
- WebBasic (13)
- English (13)
- structs (1)
- structs2 (2)
- Oracle (17)
- Hibernate (2)
- JavaScript (4)
- Jdbc (1)
- Jvm (15)
- Ibatis (1)
- DataStructures (13)
- Https/Socket/Tcp/Ip (3)
- Linux (4)
- Webservice (7)
- Io (2)
- Svn (1)
- Css (1)
- Ajax (1)
- ExtJs (1)
- UML (2)
- DataBase (6)
- BankTechnique (3)
- SpringMvc (3)
- Nio (3)
- Load Balancing/Cluster (3)
- Tools (1)
- javaPerformanceOptimization (8)
- Lucene(SEO) (1)
- My Think (80)
- NodeJs (1)
- Quartz (1)
- Distributed-java (1)
- MySql (7)
- Project (4)
- junit (4)
- framework (1)
- enCache (1)
- git (2)
- SCJP (1)
- sd (1)
最新评论
-
lkjxshi:
你都这水平了还考这个证干嘛
SCJP 认证考试指南 -
钟逸华:
问的真多
百度java开发面试题(转) -
zuimeitulip:
觉得我就是这样的,从小阅读量就很少,导致现在的读的速度非常慢, ...
让读书成为一种习惯 -
DDT_123456:
我觉得你是不符合要求。问你hashmap的那个问题,你那样回答 ...
阿里面试2(转) -
jingjing0907:
刚刚写了很多读过此博客的感受,竟然没有发上去,以为我注册账号还 ...
让读书成为一种习惯
美资软件公司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".
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".
发表评论
-
大众点评电话面试(2015/3/13)
2015-04-02 21:57 461.负责项目的架构是怎样的2.网站搞活动的时候高并发怎么处理 ... -
2015.3.23-3.25面试题
2015-04-02 20:57 372015/3/18 1.项目有哪几 ... -
盛付通面试题(2014.3.25)
2015-03-19 09:35 56盛付通面试 2015/3/16 1. ... -
翰之友面试2015/3/13
2015-03-16 13:08 321.struct1与structs2的区别 2.什么是事 ... -
ebay电话面试 2015/3/11
2015-03-11 18:36 591.hibernate与ibatis的区别 ... -
menards
2015-03-10 18:07 26menards Menards是美国第三大家居装饰和用品 ... -
上海盛付通电子支付面试题(电话)2015/3/4
2015-03-04 23:28 761.object的方法有哪几个 clone,wai ... -
bluem内部面试题(2014.1.12)
2015-01-12 18:25 581.jquery插件没有用过,jquery取兄弟节点($( ... -
bluem内部面试题(2014.12.8)
2014-12-08 15:28 891.主要用jquery,js做了什么,什么功能,用了jqu ... -
englis interview
2014-04-23 13:35 8781.introdue myselfok, it's a ... -
邦购面试题(2014.4.22)
2014-04-22 17:10 2671.多线程银行转账怎么控制,有几个线程同时从账户扣钱(钱不 ... -
塔塔电话摩根面试题(2014.4.21)
2014-04-21 17:30 334塔塔摩根面试题1.what ... -
一网打尽JAVA英文面试题目(转)
2014-04-21 14:09 2800http://blog.csdn.net/aw_vip ... -
百度支付面试(转)
2014-04-20 23:22 281一面 1.简单的自我介绍 2.java方面:集合方面: ... -
车享网面试题(2014.4.16)
2014-04-16 22:54 4961.java内存泄露怎么监 ... -
迅付信息科技有限公司(2014.4.16)
2014-04-16 22:48 8691.常用的设计模式有哪些,画出某个设计模式的UML图 h ... -
阿里巴巴电话面试(2014.4.16)
2014-04-16 21:48 4111.spring ioc 怎么理解? Aop是由动态代理实 ... -
北塔软件面试题(2014.4.14)
2014-04-14 22:22 9411.有一个文件tool.txt,里面有a,b,c,d,f,e ... -
拉卡拉面试题(2014.4.14)
2014-04-14 21:46 12621.jvm参数设置的作用,-server,-mnax,-m ... -
携程网电话面试(2014.4.11)
2014-04-12 23:57 2561.spring事物有几种隔离级别(5种),require ...
相关推荐
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...
各种java面试题集,面试前必备哦, 1. Java基础部分 7 1、一个".java"源文件中是否可以包括多个类(不是内部类)?有什么限制? 8 2、Java有没有goto? 8 3、说说&和&&的区别。 8 4、在JAVA中如何跳出当前的多重嵌套...
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 25、...
20. xxx公司的sql面试 108 21、注册Jdbc驱动程序的三种方式 109 22、用JDBC如何调用存储过程 109 23、JDBC中的PreparedStatement相比Statement的好处 110 24. 写一个用jdbc连接并访问oracle数据的程序代码 111 ...