问题 填空题

如果有一个类MyFrame是Frame的子类,能够被不同包中的类所使用,请写出该类的声明头: 【7】

答案

参考答案:public class MyFrame extends Frame

解析: 本题考查对类声明的理解。类声明的格式为:
[修饰符] class类名 [extends父类名] [implements类实现的接口列表]
其中口括起来的内容为可选项。关键字class是类定义的开始,类名应符合标识符命名规则。关键字extends指明该类是子类,它的父类名紧跟其后,子类与父类之间有继承关系。关键字implements指明该类实现的接口,后跟接口名列表。
要注意掌握类声明的概念,虽然很简单,但容易漏掉有关修饰符。

完形填空

III. 短文填词(共10小题,每小题1分,满分10分)

阅读下面短文,根据以下提示:1)汉语提示,2)首字母提示,3)语境提示,在每个空格内填人一个适当的英语单词,并将该词完整地写在右边相对应的横线上。所填单词要求意义准确,拼写正确。

An American bestseller has been popular among the students in our      

school ______(最近). It is so inspiring that I would like to recommend                  1. _________      

it to you. This book, Chicken Soup for the Soul, w______ by Jack                      2. _________      

Canfield, first appeared _______1993 and soon became a bestseller.               3. _________      

It will surely inspire readers of all ______(年龄). It has been put into                        4. _________      

many languages, spreading love to all over the world. B_________, an English              5. _________      

version is of g_________help to us English learners as it will help improve             6. _________      

our English. It costs 64 yuan. _________you can get it for 54.4 yuan through         7. _________      

online shopping, which will _________ (节省) you 9.6yuan. You can order        8. _________      

it at www.dangdang.com, and g_________the book within one week after                     9. _________       

your payment. For more_________please visit the website.                                          10. _________     

单项选择题