




如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
java工程师面试题 第一篇:java工程师面试题西安三元数码软件有限公司外派JAVA软件工程师笔试题4303返回上级目录选择题1:在软件生命周期中,下列哪个说法是不准确的?A.软件生命周期分为计划、开发和运行三个阶段B.在计划阶段要进行问题焉醛和需求分析C.在开发后期要进行编写代码和软件测试D.在运行阶段主要是进行软件维护2:publicclassParent{intchange(){…}}classChildextendsParent{}WhichmethodscanbeaddedintoclassChild?A.publicintchange(){}B.abstractintchang(){}C.privateintchange(){}D.none3:1.Givethefollowingmethod:2.publicvoidmethod(){3.Stringa,b;4.a=newString(“helloworld”);5.b=newString(“gameover”);6.System.out.println(a+b+”ok”);7.a=null;8.a=b;9.System.out.println(a);10.}11.Intheabsenceofcompileroptimization,whichistheearliestpointtheobjectareferedisdefinitelyelibiletobegarbagecollection.A.beforeline5B.beforeline6C.beforeline7D.beforeline94:1.Strings=”ExampleString”;Whichoperationisnotlegal?A.inti=s.length();B.s[3]=”x”;C.Stringshort_s=s.trim();D.Stringt=”root”+s;5:关于垃圾收集的哪些叙述是对的。A.程序开发者必须自己创建一个线程进行内存释放的工作。B.垃圾收集将检查并释放不再使用的内存。C.垃圾收集允许程序开发者明确指定并立即释放该内存。D.垃圾收集能够在期望的时间释放被java对象使用的内存。6:1.Givethefollowingcode:2.publicclassExample{3.publicstaticvoidmain(Stringargs[]){4.intl=0;5.do{6.System.out.println(“Doingitforlis:”+l);7.}while(--l>0)8.System.out.println(“Finish”);9.}10.}11.Whichwellbeoutput:A.Doingitforlis3B.Doingitforlis1C.Doingitforlis2D.Doingitforlis07:Whichofthefollowingstatementsaretrue?A.TheautomaticgarbagecollectionoftheJVMpreventsprogramsfromeverrunningoutofmemoryB.AprogramcansuggestthatgarbagecollectionbeperformedandforceitC.GarbagecollectionisplatformindependentD.Anobjectbecomeseligibleforgarbagecollectionwhenallreferencesdenotingitaresettonull.8:下面关于变量及其范围的陈述哪些是错的。A.实例变量是类的成员变量。B.实例变量用关键字static声明。C.在方法中定义的局部变量在该方法被执行时创建D.局部变量在使用前必须被初始化。9:1.Whichisthemostappropriatecodesnippetthatcanbeinsertedatline18inthefollowingcode?2.3.(Assumethatthecodeiscompiledandrunwithassertionsenabled)4.5.1.importjava.util.*;6.7.2.8.9.3.publicclassAssertTest10.11.4.{12.13.5.privateHashMapcctld;14.15.6.16.17.7.publicAssertTest()18.19.8.{20.21.9.cctld=newHashMap();22.23.10.cctld.put(“in”,“India”);24.25.11.cctld.put(“uk”,“UnitedKingdom”);26.27

是向****23
实名认证
内容提供者


最近下载
贵州省城市管理行政执法条例.doc
贵州省城市管理行政执法条例.doc
一种基于双轨缆道的牵引式雷达波在线测流系统.pdf
一种基于双轨缆道的牵引式雷达波在线测流系统.pdf
一种胃肠道超声检查助显剂及其制备方法.pdf
201651206021+莫武林+浅析在互联网时代下酒店的营销策略——以湛江民大喜来登酒店为例.doc
201651206021+莫武林+浅析在互联网时代下酒店的营销策略——以湛江民大喜来登酒店为例.doc
用于空间热电转换的耐高温涡轮发电机转子及其装配方法.pdf
用于空间热电转换的耐高温涡轮发电机转子及其装配方法.pdf
用于空间热电转换的耐高温涡轮发电机转子及其装配方法.pdf