有如下类的定义,下划线处的语句是( )。 class MyClass { ______int x,y; public; MyClass(int a=0,int b=0)

admin2010-03-29  21

问题 有如下类的定义,下划线处的语句是(    )。        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、不需要填入内容

答案1

解析
转载请注明原文地址:https://kaotiyun.com/show/Ojjp777K
0

随机试题
最新回复(0)