单选题
设x,y均为已定义的类名,下列声明对象x1的语句中正确的是( )。
A、
public x x1=new y();
B、
x x1:x();
C、
x x1=new x();
D、
int x x1;
【正确答案】
C
【答案解析】
提交答案
关闭