问题详情
设x,y均为已定义的类名,下列声明对象x1的语句中正确的是()。
A.public x x1=new y();
B.x x1:x();
C.x x1=new x();
D.int x x1;
请帮忙给出正确答案和分析,谢谢!