A. Thisisacat! B. This is a C. Thisis a cat! D. Thisisa cat!
举一反三
- 【单选题】有以下程序 执行时如输入为:abcdefg##<回车> , 则输出结果是 A. bcdefgh$ B. abcdefg C. bcdefgh D. bcdefgh$$
- _______ and caught the mouse. A: A. Up the cat jumped B: B. The cat up jumped C: C. Up jumped the cat D: D. Jumped up the cat
- 以下哪个命令可以显示内核的版本()。A.()cat()/proc/version()B.()cat()/proc/meminfo()C.()cat()/proc/cpuinfo()D.()cat()/proc/mounts
- 运行以下程序,若输入Thisisabook..<回车>,则程序的输出结果是()。 A: This. B: Thisis C: Thisisa. D: Thisisabook..
- cat testfile的输出与下面哪个命令相同?() A: cat>testfile B: cat<testfile C: cat>>testfile D: cat<<testfile
内容
- 0
关于下列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方法的返回值并不能输出
- 1
'lazy cat'.match(/[cat]/g)与'lazy cat'.match(/(cat)/g)的匹配结果是一样的
- 2
若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();
- 3
若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();
- 4
运行以下程序,若输入Thisisabook..,则程序的输出结果是()。 A: This. B: Thisis C: Thisisa. D: Thisisabook..