问题
单项选择题
有关类和对象的说法不正确的是 ______。
A) 对象是类的一个实例
B) 一个类只能有一个对象
C) 任何一个对象只能属于一个具体的类
D) 类与对象的关系和数据类型和变量的关系相似
答案
参考答案:B
有关类和对象的说法不正确的是 ______。
A) 对象是类的一个实例
B) 一个类只能有一个对象
C) 任何一个对象只能属于一个具体的类
D) 类与对象的关系和数据类型和变量的关系相似
参考答案:B
汤姆和雪人在对话,你知道他们在说什么吗?在单词表内选择合适的单词填空。 | ||||||||||||
Snowman: Hello, how are you? Tom: Oh! You can talk. What's your name? Snowman: I don't know. I don't 1 I have a name. Tom: Do you like to 2 in winter? Snowman: I don't know. I have never skated, but I want to 3 . Can you 4 me? Tom: OK. Let's go! Snowman: Wow! This is fun. Can we always skate? Tom: No. We can't skate in 5 , 6 or 7 . Snowman: 8 can't we skate in spring, summer or fall? Tom: 9 there is 10 , and there is no 11 or 12 . Snowman: And no snowmen. Tom: Don't worry. I can help you. Word List:
|