问题
填空题
在面向对象方法中,类之间共享属性和方法的机制称为______。
答案
参考答案:继承
解析: 在面向对象的程序设计方法中,某些属性和方法是可以共享的,由于类从父类中继承而来,这样提高了软件的可重用性。
在面向对象方法中,类之间共享属性和方法的机制称为______。
参考答案:继承
解析: 在面向对象的程序设计方法中,某些属性和方法是可以共享的,由于类从父类中继承而来,这样提高了软件的可重用性。
根据短文内容,用所给单词的适当形式填空。 | |
used to wear teenage 2_______ and meet in teenage coffee bars and discos. Some of them still do now. But for many young people, life is 3_______ now. Jobs are hard to find. There's not so much 4_______. Things are more expensive, and it's hard to find a cheap place to live 5_______. Teachers say that students work harder than they 6_______ to. They are more interested in 7_______ exams. They know that good exam results may 8_______ them better jobs. Most young people worry more about money than their parents 9_______ twenty years ago. They try to spend less and save more. They want to be able to get home of their 10_______ one day. |