单项选择题

设A为已定义的类名,则下列声明A类的对象a的语句中正确的是( )。

A.public A a=new A();
B.public A a=A();
C.A a=new class();
D.a A;