问题
单项选择题
有如下类的定义,下划线处的语句是( )。
class MyClass_______________ int x, y;
Public:
MyClass (int a=0,int b=0)x=a;
y=b;static void change()y-=10;
y-=10;;
A.static
B.const
C.mutable
D.不需要填入内容
答案
参考答案:A
有如下类的定义,下划线处的语句是( )。
class MyClass_______________ int x, y;
Public:
MyClass (int a=0,int b=0)x=a;
y=b;static void change()y-=10;
y-=10;;
A.static
B.const
C.mutable
D.不需要填入内容
参考答案:A
某生态系统中有4种生物,分别用a、b、c、d 表示,并构成一条食物链,一年内输入这4种生物的能量数值如下表。该生态系统中属于生产者的应该是 ( )
生物种类 | a | b | c | d |
能量(焦) | 141.1×105 | 15.91×105 | 0.88×105 | 871.27×105 |