• 2022-06-17 问题

    关于下列Python代码,说法正确的是class Cat: def __init__(self, age, eye_color): self.age = age self.eye_color = eye_color def voice(self): return '喵' cat = Cat(1,'blue')print(cat.age,cat.eye_color,cat.voice()) A: 程序可以运行,且输出结果为 1 blue 喵 B: 程序可以运行,且输出结果为 1 blue C: 程序不可以运行,因为voice不是cat的某个方法,而是属性 D: 程序不可以运行,因为voice方法的返回值并不能输出

    关于下列Python代码,说法正确的是class Cat: def __init__(self, age, eye_color): self.age = age self.eye_color = eye_color def voice(self): return '喵' cat = Cat(1,'blue')print(cat.age,cat.eye_color,cat.voice()) A: 程序可以运行,且输出结果为 1 blue 喵 B: 程序可以运行,且输出结果为 1 blue C: 程序不可以运行,因为voice不是cat的某个方法,而是属性 D: 程序不可以运行,因为voice方法的返回值并不能输出

  • 2022-06-14 问题

    若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Animal a = new Cat(); Cat cat = (Cat) a; C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();

    若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Animal a = new Cat(); Cat cat = (Cat) a; C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();

  • 2022-05-29 问题

    5 Didn't you see that'blue cat/blue'cat? A: 'blue cat B: blue'cat

    5 Didn't you see that'blue cat/blue'cat? A: 'blue cat B: blue'cat

  • 2022-06-14 问题

    若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Cat cat = (Cat)new Animal(); C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();

    若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Cat cat = (Cat)new Animal(); C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();

  • 2022-06-09 问题

    cat testfile的输出与下面哪个命令相同?() A: cat>testfile B: cat<testfile C: cat>>testfile D: cat<<testfile

    cat testfile的输出与下面哪个命令相同?() A: cat>testfile B: cat<testfile C: cat>>testfile D: cat<<testfile

  • 2022-06-06 问题

    Under the tree (). A: did a cat lay B: did lay a cat C: a cat lay D: lay a cat

    Under the tree (). A: did a cat lay B: did lay a cat C: a cat lay D: lay a cat

  • 2022-05-29 问题

    下面哪一个表达式能正确表示逻辑关系:"age≥18 或age≤60"? A: age>=18 || age B: age>=18 or age C: age>=18 | age D: age>=18 && age

    下面哪一个表达式能正确表示逻辑关系:"age≥18 或age≤60"? A: age>=18 || age B: age>=18 or age C: age>=18 | age D: age>=18 && age

  • 2021-04-14 问题

    'lazy cat'.match(/[cat]/g)与'lazy cat'.match(/(cat)/g)的匹配结果是一样的

    'lazy cat'.match(/[cat]/g)与'lazy cat'.match(/(cat)/g)的匹配结果是一样的

  • 2022-05-29 问题

    表达式“AGE BETWEEN 18 AND 24”等价于 A: AGE>18 AND AGE<24 B: AGE>=18 AND AGE<24 C: AGE>18 AND AGE<=24 D: AGE>=18 AND AGE<=24

    表达式“AGE BETWEEN 18 AND 24”等价于 A: AGE>18 AND AGE<24 B: AGE>=18 AND AGE<24 C: AGE>18 AND AGE<=24 D: AGE>=18 AND AGE<=24

  • 2022-05-29 问题

    设有关系表S(NO,NAME,AGE),其中AGE为年龄字段,则表达式AGE NOT BETWEEN 18 AND 24等价于() A: AGE<=18 OR AGE>=24 B: AGE<=18 0R AGE>24 C: AGE<18 OR AGE>=24 D: AGE<18 0R AGE>24

    设有关系表S(NO,NAME,AGE),其中AGE为年龄字段,则表达式AGE NOT BETWEEN 18 AND 24等价于() A: AGE<=18 OR AGE>=24 B: AGE<=18 0R AGE>24 C: AGE<18 OR AGE>=24 D: AGE<18 0R AGE>24

  • 1 2 3 4 5 6 7 8 9 10