3、美资软件公司JAVA工程师电话面试题目1.Talkaboutoverriding,overloading.2.TalkaboutJAVAdesignpatternsyouknown.3.TalkaboutthedifferencebetweenLinkList,ArrayListandVictor.4.TalkaboutthedifferencebetweenanAbstractclassandanInterface.5.Classa=newClass();Classb=newClass();if(a==b)returnstrueorfalse,why?6.WhyweuseStringBufferwhenconcatenatingstrings?7.TrytoexplainSingletontous?Isitthreadsafe?Ifno,howtomakeitthreadsafe?8.TrytoexplainIoc?9.Howtosetmany-to-manyrelationshipinHibernate?10.TalkaboutthedifferencebetweenINNERJOINandLFETJOIN.11.Whyweuseindexindatabase?Howmanyindexesisthemaximuminonetableasyoursuggestion?12.When‘Final’isusedinclass,methodandproperty,whatdoseitmean?13.DoyouhaveanyexperienceonXML?TalkaboutanyXMLtoolyouused,e.g.JAXB,JAXG.14.DoyouhaveanyexperienceonLinux?15.InOODwhatisthereasonwhenyoucreateaSequencediagram?Administrator10:34:201,堆和栈的区别,有一个64k的字符串,是放到堆上,还是放到栈上,为什么?2,什么时候用到接口,什么时候用到抽象类,二者区别3,有一个100万的数组,里边有两个市重复的,如何设计算法找到。4,设计数据库时,n维,如何设计。例如[省份][城市][网吧],这是三维关系,它的表也应该有三个,网吧有外键引用城市,城市有外键应用省份,这个规律就是下层的要有一外键去引用上层。