下列类的定义形式中,哪个是非法的?
A.classAinta,b;//..
B.classAinti,j;i=j=10;//..
C.classAinti;floatf;//..
D.classAinti=12;doubled=1.22;//..
正确答案:B
猜你喜欢