ImageVerifierCode 换一换
格式:DOC , 页数:13 ,大小:324KB ,
资源ID:4135440      下载积分:8 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/4135440.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(上海神机软件有限公司.doc)为本站上传会员【精****】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

上海神机软件有限公司.doc

1、选择题 1:Which of the following answer is correct to express the value 8 in octal number? A.010 B.0x10 C.08 D.0x8 2:Which statement about listener is true? A.Most component allow multiple listeners to be added. B.If multiple listener be add to a single component, the event only affected

2、 one listener. C.Component don?t allow multiple listeners to be add. D.none 3: Give the following java class:    public class Example{    static int x[]=new int[15];    public static void main(String args[]){    System.out.println(x[5]);    }    }    Which statement is corrected?   G

3、ive the following java class: public class Example{ static int x[]=new int[15]; public static void main(String args[]){ System.out.println(x[5]); } } Which statement is corrected? A.When compile, some error will occur. B.When run, some error will occur. C.Output is zero. D.Output is nu

4、ll. 4: Give the following java source fragement:    //point x    public class Interesting{    //do something    }    Which statement is correctly Java syntax at point x?    Give the following java source fragement: //point x public class Interesting{ //do something } Which statement i

5、s correctly Java syntax at point x? A.public class MyClass{//do other thing…} B.static int PI=3.14 C.class MyClass{//do something…} D.none 5: What will be the result of executing the following code?      boolean a = true;     boolean b = false;     boolean c = true;     if (a == true

6、)     if (b == true)     if (c == true)    System.out.println("Some things are true in this world");     else       System.out.println("Nothing is true in this world!");      else if (a && (b = c))  System.out.println("It's too confusing to tell what is true and what is false");      else   Sys

7、tem.out.println("Hey this won't compile");        Choices:   What will be the result of executing the following code? boolean a = true; boolean b = false; boolean c = true; if (a == true) if (b == true) if (c == true) System.out.println("Some things are true in this world"); els

8、e System.out.println("Nothing is true in this world!"); else if (a && (b = c)) System.out.println("It's too confusing to tell what is true and what is false"); else System.out.println("Hey this won't compile"); Choices: A.The code won't compile B."Some things are true in this

9、 world" will be printed C."Hey this won't compile" will be printed D.None of these 6: What will be the result of executing the following code?        // Filename; SuperclassX.java       package packageX;        public class SuperclassX       {       protected void superclassMethodX

10、)       {       }       int superclassVarX;       }                // Filename SubclassY.java       1.package packageX.packageY;       2.       3.public class SubclassY extends SuperclassX       4.{       5.SuperclassX objX = new SubclassY();       6.SubclassY objY = new Sub

11、classY();       7.void subclassMethodY()       8.{       9.objY.superclassMethodX();       10.int i;       11.i = objY.superclassVarX;       12.}       13.}        Choices:   What will be the result of executing the following code? // Filename; SuperclassX.java package packag

12、eX; public class SuperclassX { protected void superclassMethodX() { } int superclassVarX; } // Filename SubclassY.java 1.package packageX.packageY; 2. 3.public class SubclassY extends SuperclassX 4.{ 5.SuperclassX objX = new SubclassY(); 6.SubclassY o

13、bjY = new SubclassY(); 7.void subclassMethodY() 8.{ 9.objY.superclassMethodX(); 10.int i; 11.i = objY.superclassVarX; 12.} 13.} Choices: A.Compilation error at line 5 B.Compilation error at line 9 C.Runtime exception at line 11 D.None of these 7:在下述选项时,没有构成死循环的程序是

14、 A.int i=100 while (1) { i=i%100+1; if (i>100) break; } B.for (;;); C.int k=1000; do { ++k; }while(k>=10000); D.int s=36; while (s);--s; 8:Which fragments are not correct in Java source file? A.package testpackage; public class Test{//do something...} B.import java.io.*; package testpack

15、age; public class Test{// do something...} C.import java.io.*; class Person{// do something...} public class Test{// do something...} D.import java.io.*; import java.awt.*; public class Test{// do something...} 9: 下述程序代码中有语法错误的行是(  )。    int i,ia[10],ib[10];      /*第一行*/   for (i=0;i<=9;i+

16、)        /*第2行*/     ia[i]=0;          /*第3行*/   ib=ia;    /*第4行*/   下述程序代码中有语法错误的行是( )。 int i,ia[10],ib[10]; /*第一行*/ for (i=0;i<=9;i++) /*第2行*/ ia[i]=0; /*第3行*/ ib=ia; /*第4行*/ A.第1行 B.第2行 C.第3行 D.第4行 10:在软件生命周期中,下列哪个说法是不准确的? A.软件生命周期分为计划、开发和运行三个阶段 B.在

17、计划阶段要进行问题焉醛和需求分析 C.在开发后期要进行编写代码和软件测试 D.在运行阶段主要是进行软件维护 11:下面关于变量及其范围的陈述哪些是错的。 A.实例变量是类的成员变量。 B.实例变量用关键字static声明。 C.在方法中定义的局部变量在该方法被执行时创建 D.局部变量在使用前必须被初始化。 12:Which modifier should be applied to a method for the lock of object this to be obtained prior to excution any of the method bod

18、y? A.synchronized B.abstract C.final D.static 13: Consider the class hierarchy shown below: -------------------------------------------------------------------- class FourWheeler implements DrivingUtilities class Car extends FourWheeler class Truck extends FourWheeler c

19、lass Bus extends FourWheeler class Crane extends FourWheeler ---------------------------------------------------------------------- Consider the following code below: 1.DrivingUtilities du; 2.FourWheeler fw; 3.Truck myTruck = new Truck(); 4.du = (DrivingUtilities)myTr

20、uck; 5.fw = new Crane(); 6.fw = du; Which of the statements below are true? Choices: A.Line 4 will not compile because an interface cannot refer to an object. B.The code will compile and run. C.The code will not compile without an explicit cast at line 6, because going down the

21、 hierarchy without casting is not allowed. D.The code will compile if we put an explicit cast at line 6 but will throw an exception at runtime. 14:以下的C程序代码片段运行后C和d的值分别是多少 Int a =1,b =2; Int c,d; c =(a&b)&&a; d =(a&&b)&a; A.0,0 B.0,1 C.1,0 D.1,1 15: What will be printed when y

22、ou execute the following code?        class X     {      Y b = new Y();      X()      {        System.out.print("X");       }    }        class Y     {        Y()        {          System.out.print("Y");        }    }        public class Z extends X     {       Y y = new Y();   

23、    Z()      {         System.out.print("Z");       }        public static void main(String[] args)       {                   new Z();      }    }        Choices:   What will be printed when you execute the following code? class X { Y b = new Y(); X() { System.out.pri

24、nt("X"); } } class Y { Y() { System.out.print("Y"); } } public class Z extends X { Y y = new Y(); Z() { System.out.print("Z"); } public static void main(String[] args) { new Z(); } } Choices: A.Z B.YZ

25、C.XYZ D.YXYZ 16: Give the following code:    public class Example{    public static void main(String args[] ){    int l=0;    do{    System.out.println(“Doing it for l is:”+l);    }while(--l>0)    System.out.println(“Finish”);    }    }    Which well be output:    Give the following

26、 code: public class Example{ public static void main(String args[] ){ int l=0; do{ System.out.println(“Doing it for l is:”+l); }while(--l>0) System.out.println(“Finish”); } } Which well be output: A.Doing it for l is 3 B.Doing it for l is 1 C.Doing it for l is 2 D.Doing it for l is

27、 0 17: The following code is entire contents of a file called Example.java,causes precisely one error during compilation:     class SubClass extends BaseClass{     }     class BaseClass(){     String str;     public BaseClass(){     System.out.println(“ok”);}     public BaseClass(String s

28、){     str=s;}}     public class Example{     public void method(){     SubClass s=new SubClass(“hello”);     BaseClass b=new BaseClass(“world”);     }     }       Which line would be cause the error?    The following code is entire contents of a file called Example.java,causes precisely o

29、ne error during compilation: class SubClass extends BaseClass{ } class BaseClass(){ String str; public BaseClass(){ System.out.println(“ok”);} public BaseClass(String s){ str=s;}} public class Example{ public void method(){ SubClass s=new SubClass(“hello”); BaseClass b=new Ba

30、seClass(“world”); } } Which line would be cause the error? A.9 B.10 C.11 D.12 18:设有变量说明语句int a=1,b=0; 则执行以下程序段的输出结果为( )。 switch (a) { case 1: switch (b) { case 0:printf("**0**");break; case 1:printf("**1**");break; } case 2:printf("**2**");break; } printf("\n

31、"); A.**0** B.**0****2** C.**0****1****2** D.有语法错误 19:What is written to the standard output given the following statement:System.out.println(4|7); Select the right answer: A.4 B.5 C.6 D.7 20:Which is the main() method return of a application? A.String B.byte C.char D.v

32、oid 21:Math.round(11.5)等於多少? A.11 B.12 C.11.5 D.none 简答题 22:说出ArrayList,Vector, LinkedList的存储性能和特性。 23:找出32位数中是回文数,且其开方为整数的数。 24:X博士是一个研究儿童智力开发方法的科学家,他为幼儿教育领域做出了许多贡献。最近,X博士正在研究一种适合儿童的游戏,用以辅助发展儿童的观察力、注意力和思维能力。经过连日的构思,X博士终于设计出了一种游戏:彩球游戏。   彩球游戏是一种单人参与的游戏,游戏首先给出一串由许多不同颜色的小球组成的小球序列

33、以及一个整数参数M(M≥2)。一段连续的具有相同颜色的小球序列称为连续同色序列。小孩,即游戏参与者,每次可以向任意一段连续同色序列插入一个同色小球,使该序列的长度加一。当一段连续同色序列在插入一个同色小球后其长度达到M时,该序列就会爆炸消失,然后原序列两边的其余小球会重新连成一串,如果两段相同颜色的连续同色序列在此时连接在一起,它们就会合并形成一段新的连续同色序列。如果新形成的连续同色序列长度达到M,这段序列也会爆炸消失,然后重复上述过程,直到没有新的长度达到M的连续同色序列出现为止。游戏的目标很简单,就是插入尽量少的小球,使得所有小球都爆炸消失掉。   通过长时间的游戏和不断提高游

34、戏水平,这个游戏可以很好地开发儿童的观察力、注意力和思维能力。但是X博士仍然面临着一个困难的问题,他还需要设计出一个游戏演示AI程序,可以以最优的方式(即插入的小球数量最小)进行游戏,用于游戏教学,或者在游戏中对小孩给出提示。X博士并不擅长此类程序,因而他无法完成这个任务,你可以帮助他吗? 25:什么是接口?为什么要定义接口?接口与抽象类有何异同? 26:用最简单的方法判断一个数是否是2的指数次幂。 27:有一百个整数,其中有负数,找出连续三个数之和最大的部分. 28:++i与i++的区别到底怎样? 29:请写一个java程序实现线程连接池功能? 30:lucene的索引使用的什么数据结构? 31:hibernate有那些抓取策略?

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服