凌志软件 中级软件工程师

凌志软件 中级软件工程师

ID:38707750

大小:290.50 KB

页数:16页

时间:2019-06-18

凌志软件 中级软件工程师_第1页
凌志软件 中级软件工程师_第2页
凌志软件 中级软件工程师_第3页
凌志软件 中级软件工程师_第4页
凌志软件 中级软件工程师_第5页
资源描述:

《凌志软件 中级软件工程师》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、凌志软件中级软件工程师选择题1:if(a==true)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");   else       System.out.println("Nothing i

2、s 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:  Whatwillbetheresultofexecutingthefollowingcode?booleana=true;booleanb=false;booleanc=true;if(b==t

3、rue)if(c==true)System.out.println("Somethingsaretrueinthisworld");elseSystem.out.println("Nothingistrueinthisworld!");elseif(a&&(b=c))System.out.println("It'stooconfusingtotellwhatistrueandwhatisfalse");elseSystem.out.println("Heythiswon'tcompile");Choices:A.Thecodewon'tcompileB."Somethingsaretruein

4、thisworld"willbeprintedC."Heythiswon'tcompile"willbeprintedD.Noneofthese2:使用JDBC可以做到的是A.把二进制代码传送到任何关系数据库中B.把Java源代码传送到任何关系数据库中C.把表单信息传送到任何关系数据库中D.很容易地把SQL语句传送到任何关系数据库中3:The following code is entire contents of a file called Example.java,causes precisely one error during compilation:   class SubClass

5、 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 BaseClass(“world”);   }   }    Which line would

6、 be cause the error?   ThefollowingcodeisentirecontentsofafilecalledExample.java,causespreciselyoneerrorduringcompilation:classSubClassextendsBaseClass{}classBaseClass(){Stringstr;publicBaseClass(){System.out.println(“ok”);}publicBaseClass(Strings){str=s;}}publicclassExample{publicvoidmethod(){SubCl

7、asss=newSubClass(“hello”);BaseClassb=newBaseClass(“world”);}}Whichlinewouldbecausetheerror?A.9B.10C.11D.124:软件生命周期的瀑布模型把软件项目分为3个阶段、8个子阶段,以下哪一个是正常的开发顺序?A.计划阶段、开发阶段、运行阶段B.设计阶段、开发阶段、编码阶段C.设计阶段、编码阶段、维护阶段D

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。