问题 单项选择题

设类Test中存在成员static int x;,则下列哪种初始化方式是正确的( )

A.Test::int x=25;
B.int x=25;
C.int Test::x=25;
D.int Test x=25;

答案

参考答案:C

问答题 简答题
多项选择题