【单选题】【消耗次数:1】
以下关于面向对象三大特征错误的是( )。
封装就是将对象的属性和行为封装起来,不让外界知道具体实现细节
继承性主要描述的是类与类之间的关系,通过继承可以在无需重新编写原有类的情况下对原有类的功能进行扩展
多态是指同一操作作用于不同的对象,会产生不同的执行结果
多态性是面向对象的核心思想
参考答案:
复制
纠错
相关题目
【单选题】 以下关于面向对象三大特征错误的是( )。
①  封装就是将对象的属性和行为封装起来,不让外界知道具体实现细节
②  继承性主要描述的是类与类之间的关系,通过继承可以在无需重新编写原有类的情况下对原有类的功能进行扩展
③  多态是指同一操作作用于不同的对象,会产生不同的执行结果
④  多态性是面向对象的核心思想
【判断题】 面向对象的继承性是子类自动享父类数据结构和方法的机制
①  正确
②  错误
【判断题】 面向对象方法学的优点之一可重用性好,主要是利用类的继承性。
①  正确
②  错误
【单选题】 派生类的对象可以访问以下那种情况继承的基类成员( )
①  私有继承的私有成员
②  公有继承的私有成员
③  私有继承的保护成员
④  公有继承的公有成员
【单选题】 派生类的对象可以访问以下那种情况继承的基类成员( )
①  私有继承的私有成员
②  公有继承的私有成员
③  私有继承的保护成员
④  公有继承的公有成员
【判断题】 类封装比对象封装更具体,更细致。()
①  正确
②  错误
【单选题】 以下关于面向对象说法错误的是( )。
①  面向对象编程具有开发时间短、效率高、可靠性强等特点
②  面向对象编程其代码更易于维护、更新和升级
③  抽象性是面向对象的三大特征之一
④  封装是把客观事物封装成抽象的类,并且类可以把自己的数据和方法只让可信的类或者对象操作
【单选题】 以下关于面向对象说法错误的是( )。
①  面向对象编程具有开发时间短、效率高、可靠性强等特点
②  面向对象编程其代码更易于维护、更新和升级
③  抽象性是面向对象的三大特征之一
④  封装是把客观事物封装成抽象的类,并且类可以把自己的数据和方法只让可信的类或者对象操作
【单选题】 以下关于面向对象的说法错误的是( )。
①  是一种符合人类思维习惯的编程思想
②  把解决的问题按照一定规则划分为多个独立对象,通过调用对象的方法来解决问题
③  面向对象的三大特征为封装、继承和多态
④  在代码维护上没有面向过程方便
【单选题】 以下关于面向对象的说法错误的是( )。
①  是一种符合人类思维习惯的编程思想
②  把解决的问题按照一定规则划分为多个独立对象,通过调用对象的方法来解决问题
③  面向对象的三大特征为封装、继承和多态
④  在代码维护上没有面向过程方便
随机题目
【单选题】 I am sorry I have no time at present to ____ more detail or give you an account of other cities of interest.
①  bring into
②  take into
③  come into
④  go into
【单选题】 He cannot ____ a car, for he does not earn much money.
①  obtain
②  afford
③  donate
④  consume
【单选题】 It’s not fair that you come home after a bad day at work and ____ your wife and children.
①  take it out on
②  take out it on
③  take out on
④  take on it with
【单选题】 A ____ person is one who is easily hurt or offended by things that people do or say.
①  sensitive
②  sensible
③  smar
④  wise
【单选题】 Don’ t forget to put the book back on the shelf, _____?
①  do you
②  don’ t you
③  will you
④  won’ t you
【单选题】 Beth could ____ her coat because it had large red buttons.
①  recognize
②  prove
③  define
④  claim
【单选题】 By no means_____ to our plan for the trip.
①  will she agree
②  she will agree
③  agrees she
④  will agree she
【单选题】 His mother had talked to him for two hours while he was watching TV, but_____.
①  a little did he hear
②  little did he hear
③  little heard he
④  a little heard he
【单选题】 In this book the writer gives us a(n)____ picture of social history.
①  precise
②  exact
③  accurate
④  correct
【单选题】 Of course, most immigrants did not get rich overnight, but the ____ of them were eventually able to improve upon their former standard of living.
①  maximum
②  minority
③  majority
④  minimum