java笔试――选择题

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

这可让他犯了难,施工现场距离项目部很远,没有车还真是不方便office,branchoffices(jurisdiction),riskmanagement,marketingmanagementsectorthroughsupervisionandinspectionfoundproblems,shouldbeassignedtheinvestigatorsarecorrectedinatimelymanner.27ththefifthchapterpenaltyunderanyofthefollowingacts,thentherelevantprovisionstopunishtheinvestigators,accordingtotheBank.Toconstituteacrimeshallbeinvestigatedforcriminalresponsibility:(A)onthebusinessthatarenotinvolvedintheinvestigation,issuedasurvey.(B)customercreditinformationarenotthoroughverification.(Iii)toparticipateincreditcustomersurveyisnotinplace,customersanddataisincomplete,untrue;heknowsbearacounterfeitedclientsissuingcredit.(D)doesnotprovideforduediligenceofcreditbusiness,pre-loaninvestigationform,concealingfactsorprovidingfalseinformationorshouldbefoundinanormalinvestigationfailedtodiscovertheriskfactors,leadtothereviewandapprovalpolicyerrors,loanrisk.(Five)onloanguaranteesofsurveynotinplace,notbyprovidesonarrived,andpledgerealforfieldverification,andassessment,andidentificationandregistration,notaccordingtoprovidesonguarantorofguaranteesqualificationandguaranteescapacityforsurveyverified,ledtoguaranteesloanlostauthenticity,andlegitimacy,andeffectivenessof;cycleloanbusinessintheofmortgageJava基础笔试题一.选择题(共50题,每题2分,共100分。多选题选不全或选错都不得分。)1.以下属于面向对象的特征的是(C,D)。(两项)A)重载B)重写C)封装D)继承2.以下代码运行输出是(C)publicclassPerson{privateStringname=”Person”;intage=0;}publicclassChildextendsPerson{publicStringgrade;publicstaticvoidmain(String[]args){Personp=newChild();System.out.println(p.name);}}A)输出:PersonB)没有输出C)编译出错D)运行出错解答:子类不能访问父类私有成员3.在使用super和this关键字时,以下描述正确的是(A)A)在子类构造方法中使用super()显示调用父类的构造方法,super()必须写在子类构造方法的第一行,否则编译不通过B)super()和this()不一定要放在构造方法内第一行C)this()和super()可以同时出现在一个构造函数中D)this()和super()可以在static环境中使用,包括static方法和static语句块4.以下对封装的描述正确的是(D)A)只能对一个类中的方法进行封装,不能对属性进行封装B)如果子类继承了父类,对于父类中进行封装的方法,子类仍然可以直接调用C)封装的意义不大,因此在编码时尽量不要使用D)封装的主要作用在于对外隐藏内部实现细节,增强程序的安全性5.以下对继承的描述错误的是(A)A)Java中的继承允许一个子类继承多个父类B)父类更具有通用性,子类更具体C)Java中的继承存在着传递性D)当实例化子类时会递归调用父类中的构造方法6.以下程序的运行结果是(D)classPerson{publicPerson(){System.out.println(“thisisaPerson”);}}这可让他犯了难,施工现场距离项目部很远,没有车还真是不方便office,branchoffices(jurisdiction),riskmanagement,marketingmanagementsectorthroughsupervisionandinspectionfoundproblems,shouldbeassignedtheinvestigatorsarecorrectedinatimelymanner.27ththefifthchapterpenaltyunderanyofthefollowingacts,thentherelevantprovisionstopunishtheinvestigators,accordingtotheBank.Toconstituteacrimeshallbeinvestigatedforcriminalresponsibility:(A)onthebusinessthatarenotinvolvedintheinvestigation,issuedasurvey.(B)customercreditinformationarenotthoroughverification.(Iii)toparticipateincreditcustomersurveyisnotinplace,customersanddataisincomplete,untrue;heknowsbearacounterfeitedclientsissuingcredit.(D)doesnotprovideforduediligenceofcreditbusiness,pre-loaninvestigationform,concealingfactsorprovidingfalseinformationorshouldbefoundinanormalinvestigationfailedtodiscovertheriskfactors,leadtothereviewandapprovalpolicyerrors,loanrisk.(Five)onloanguaranteesofsurveynotinplace,notbyprovidesonarrived,andpledgerealforfieldverification,andassessment,andidentificationandregistration,notaccordingtoprovidesonguarantorofguaranteesqualificationandguaranteescapacityforsurveyverified,ledtoguaranteesloanlostauthenticity,andlegitimacy,andeffectivenessof;cycleloanbusinessintheofmortgagepublicclassTeacherextendsPerson{privateStringname=”tom”;publicTeacher(){System.out.println(“thisisateacher”);super();}publicstaticvoidmain(String[]args){Teacherteacher=newTeacher();System.out.println(this.name);}}A)thisisaPersonthisisateachertomB)thisisateacherthisisaPersontomC)运行出错D)编译有两处错误7.以下说法错误的是(D)A)super.方法()可以调用父类的所有非私有方法B)super()可以调用父类的所有非私有构造函数C)super.属性可以调用父类的所有非私有属性D)this和super关键字可以出现在同一个构造函数中8.以下关于final关键字说法错误的是(A,C)(两项)A)final是java中的修饰符,可以修饰类、接口、抽象类、方法和属性B)final修饰的类肯定不能被继承C)final修饰的方法不能被重载D)final修饰的变量不允许被再次赋值9.访问修饰符作用范围由大到小是(D)A)private-default-protected-publicB)public-default-protected-privateC)private-protected-default-publicD)public-protected-default-private10.以下(D)不是Object类的方法A)clone()B)finalize()C)toString()D)hasNext()11.多态的表现形式有(A)A)重写B)抽象C)继承D)封装12.以下对重载描述错误的是(B)A)方法重载只能发生在一个类的内部B)构造方法不能重载C)重载要求方法名相同,参数列表不同这可让他犯了难,施工现场距离项目部很远,没有车还真是不方便office,branchoffices(jurisdiction),riskmanagement,marketingmanagementsectorthroughsupervisionandinspectionfoundproblems,shouldbeassignedtheinvestigatorsarecorrectedinatimelymanner.27ththefifthchapterpenaltyunderanyofthefollowingacts,thentherelevantprovisionstopunishtheinvestigators,accordingtotheBank.Toconstituteacrimeshallbeinvestigatedforcriminalresponsibility:(A)onthebusinessthatarenotinvolvedintheinvestigation,issuedasurvey.(B)customercreditinformationarenotthoroughverification.(Iii)toparticipateincreditcustomersurveyisnotinplace,customersanddataisincomplete,untrue;heknowsbearacounterfeitedclientsissuingcredit.(D)doesnotprovideforduediligenceofcreditbusiness,pre-loaninvestigationform,concealingfactsorprovidingfalseinformationorshouldbefoundinanormalinvestigationfailedtodiscovertheriskfactors,leadtothereviewandapprovalpolicyerr

1 / 16
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功