【单选题】【消耗次数:1】
下列选项中关于java中super关键字的说法错误的是( )
super关键字是在子类对象内部指代其父类对象的引用
super关键字不仅可以指代子类的直接父类,还可以指代父类的父类
子类可以通过super关键字调用父类的方法
子类可以通过super关键字调用父类的属性
参考答案:
复制
纠错
相关题目
【单选题】 在Java语言中,子类要想调用父类的构造方法,使用的关键字是( )
①  supe
②  this
③  extends
④  new
【单选题】 下列选项中,用于在定义子类时声明父类名的关键字是()。
①  interface
②  package
③  extends
④  class
【单选题】 在使用super 和this关键字时,以下描述正确的是( )
①  在子类构造方法中使用super()显示调用父类的构造方法,super()必须写在子类构造方法的第一行,否则编译不通过
②  super()和this()不一定要放在构造方法内第一行
③  this()和super()可以同时出现在一个构造函数中
④  this()和super()可以在static环境中使用,包括static方法和static语句块
【单选题】 在Java中用什么关键字修饰的方法可以直接通过类名来调用?( )
①  static
②  final
③  private
④  void
【判断题】 Java程序里,创建新的类对象用关键字new,回收无用的类对象使用关键字free。
①  正确
②  错误
【单选题】 在类中说明的成员可以使用关键字的是()
①  public
②  extern
③  cpu
④  register
【判断题】 class是定义类的惟一关键字。
①  正确
②  错误
【单选题】 定义一个类,必须使用的关键字是( )
①  public
②  class
③  interface
④  static
【单选题】 下面是有关子类继承父类构造函数的描述,其中正确的是( )。
① 
②  创建子类的对象时,先调用子类自己的构造函数,然后调用父类的构造函数
③  子类无条件地继承父类不含参数的构造函数
④  子类必须通过super关键字调用父类的构造函数
⑤  子类无法继承父类的构造函数
【单选题】 在C#中创建类的实例需要使用的关键字是
①  this
②  base
③  new
④  as
随机题目
【单选题】 14. Through the window we can see nothing but ____ buildings.
①  tall very many
②  very many tall
③  very tall many
④  many very tall
【简答题】 Thousands of years ago in Egypt (埃及), Kings built the pyramids (金字塔). They used to build them as their tombs (坟墓). The kings thought the pyramids would help them find life [填空1]death. They also wanted the world remember them as important people. Some pyramids were for queens, but they are [填空2]interesting because they are not so big. The[填空3]pyramid that we know today is the pyramid that we know today is the pyramid near Sahara ( 撒哈拉沙漠) in Egypt. It is about 5,000 years old. There are many pyramids along the Nile River (尼罗河). The largest is the pyramid of Khufu (法老胡夫). It is made of two million three hundred thousand huge stones, most of [填空4]higher than a person. It is about 144 meters high. Inside the pyramid[填空5]the burial rooms (墓室)for the king and queen and long passage (通道) ways [填空6]these rooms. The rest of the pyramid is solid (坚固的) stone. We know there were wonderful[填空7]in the pyramid. Robbers[填空8]into the pyramids and took many of these treasures (财宝). Today some of the treasures are in museums [填空9]. How did the people of ancient [填空10]build the pyramids?How did they carry and lift the huge stones? Each stone [填空11]so well and they didn’t have our[填空12]machines. Scientists[填空13]the pyramids but nobody can say just how they [填空14]. Some day if you can, you ought to go to see the pyramids. I[填空15]you that they would be amazing.1. A. beforeB. afterC. behindD. in front of2. A. moreB. lessC. noD. very3. A. eldestB. youngestC. oldestD. smallest4. A. themB. whomC. whichD. that5. A. there areB. there isC. areD. is6. A. toB. withC. forD. in7. A. treasureB. treasuresC. moneyD. gold8. A. cameB. wentC. brokeD. walked9. A. thoughB. howeverC. everD. since10. A. dayB. momentC. momentsD. days11. A. wearsB. fitsC. liftsD. carries12. A. freshB. electronicC. modernD. scientific13. A. have studiedB. will studyC. studiedD. were studying14. A. have done thatB. did soC. did itD. are doing it15. A. sureB. assureC. insureD. ensure
【单选题】 5.I will visit you if Father me.
①  let
②  lets
③  is letting
④  will let
【单选题】 9.“Has he seen this film?” “Yes. He _______ it several days ago.”
①  saw
②  has seen
③  had seen
④  was seeing
【单选题】 3.A hunter is a man who animals.
①  catch
②  catches
③  will catch
④  was catching
【单选题】 2.She the door before she goes away.
①  had locked
②  is locking
③  has locked
④  was locking
【单选题】 4.What if I drink this?
①  happens
②  is happening
③  will happen
④  is happened
【单选题】 10.Now Mike isn’t here. He _________ Mr. Green’s. Perhaps he _______ back in a few minutes.
①  went to; is coming
②  has gone to; will come
③  has been to ; will be
④  is going to; has come
【单选题】 6.Look out! That tree _______ fall down.
①  is going to
②  will be
③  shall
④  would
【单选题】 8.They can’t leave until they ______ their work.
①  did
②  are doing
③  have done
④  has done