设X,Y为已定义的类名,下列声明X类的对象x1的语句中正确的是

A.static X x1 B.public X x1=new X(int 123); C.Y x1; D.X x1;X();

时间:2023-10-09 04:37:29

相似题目