QUESTION102Given:Object[]myObjects={newInteger(12),newString("foo"),newInteger(5),newBoolean(true)};Arrays.sort(myObjects);for(inti=0;i<myObjects.length;i++){System.out.print(myObjects[i]
分类:
其他好文 时间:
2018-07-05 18:25:06
阅读次数:
168
QUESTION73Given:10:publicclassHello{11:Stringtitle;12:intvalue;13:publicHello(){14:title+="World";15:}16:publicHello(intvalue){17:this.value=value;18:title="Hello";19:Hello();20:}2
分类:
其他好文 时间:
2018-07-05 18:22:59
阅读次数:
173
QUESTION46Given:publicclassTest{publicstaticvoidmain(String[]args){intx=5;booleanb1=true;booleanb2=false;16.if((x==4)&&!b2)System.out.print("1");System.out.print("2");if((b
分类:
其他好文 时间:
2018-07-05 18:22:03
阅读次数:
139
QUESTION230Given:classOne{publicOnefoo(){returnthis;}}classTwoextendsOne{publicOnefoo(){returnthis;}}classThreeextendsTwo{//insertmethodhere}Whichtwomethods,insertedindividually,correctlycompletetheTh
分类:
其他好文 时间:
2018-07-05 12:15:59
阅读次数:
182
QUESTION150ClicktheExhibitbutton.Given:ClassAa=newClassA();a.methodA();Whatistheresult?A.Compilationfails.B.ClassCisdisplayed.C.Thecoderunswithnooutput.D.Anexceptionisthrownatruntime.Answer:D问题出在第24行,
分类:
其他好文 时间:
2018-07-05 12:08:43
阅读次数:
125
一、选择题(40分)Oracle发出下列select语句:SQL>selecte.empno,e.ename,d.loc2fromempe,deptd3wheree.deptno=d.deptno4andsubstr(e.ename,1,1)=‘S’;下列哪个语句是Oracle数据库中可用的ANSI兼容等价语句?A.selectempno,ename,locfromempjoindepton
分类:
数据库 时间:
2018-06-30 13:07:40
阅读次数:
444
一、选择题(1-25没题1分26-30每题2分共35分)1)假定有一个用户表,表中包含字段:userid(int)、username(varchar)、password(varchar)、等,该表需要设置主键,以下说法正确的是()。(选择两项)a)如果不能有同时重复的username和password,那么username和password可以组合在一起作为主键。b)此表设计主键时,根据选择主键的
分类:
数据库 时间:
2018-06-30 12:47:49
阅读次数:
230
1、下面关于Hibernate说法正确的是()(选择两项)A)Hibernate是ORM的一种实现方式B)Hibernate不要JDBC的支持C)属于控制层D)属于数据持久层2、下面关于ORM的说法错误的是()(选择两项)A)对象关系映射,让现实中的对象同数据库的表产生映射B)对象关系映射,让类同表产生关系C)对象关系映射,让类同记录产生关系D)对象关系映射,让类中的属性同表中的列产生关系3、下面
分类:
其他好文 时间:
2018-06-30 12:37:30
阅读次数:
898
吾亦无他,唯手熟尔,谦卑若愚,好学若饥 本此博客记录一套考试题,随后我把项目以及题目发到github上,简单的说一下springboot的开发 本此考试题用Spring+SpringMVC+MyBatis+SpringBoot+MySQL+Druid+.yml配置文件+thymeleaf模板引擎 我 ...
分类:
编程语言 时间:
2018-06-24 19:36:27
阅读次数:
596
1、常用系统文件问答 1)通过修改文件( ),可以设定开机时自动挂载文件系统。 2)在linux系统中,当LAN(局域网)内没有条件记案例DNS服务器,但又想让局域网内的用户可以使用计算机名互相访问时,应配置( )文件(请写全路径) 3)linux系统启动加载完成后,内核将启动名为( )的程序,这也 ...
分类:
系统相关 时间:
2018-06-06 10:38:28
阅读次数:
293