问题
单项选择题
下面的哪个选项不能作为函数的返回类型
A.void
B.int
C.new
D.long
答案
参考答案:C
解析: new是动态申请内存空间时使用的关键字,不能作为函数的返回类型,选项A)为无返回值,选项B)为返回整型,选项D)为返回长整型。
下面的哪个选项不能作为函数的返回类型
A.void
B.int
C.new
D.long
参考答案:C
解析: new是动态申请内存空间时使用的关键字,不能作为函数的返回类型,选项A)为无返回值,选项B)为返回整型,选项D)为返回长整型。
Jane was a nice girl and liked small animals. On ____ way back from school every afternoon, there was a pet shop. She always stopped ____ the animals in the shop. There were some cute dogs there. One of them was white and nice, and Jane liked it very much. She enjoyed ____ it playing, ____ the window of the pet shop. She was very ____ in it and often forgot the time. So she came home very ____. One day her parents asked ____she was late. Jane told them about the dog in the pet shop. The next day Jane stopped to look at the dog outside the pet shop, but she could not ____ it. She was very sad and went home early. When she got home, her mother showed her a big ____ and said “Happy birthday!” to her. It was her birthday! Just then, her father brought her a big box. In it was ____! Jane was very glad. From that day on, she did not come home late. She ran home early to play with the little white dog.
|