单项选择题

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

A) float A a;
B) public A a=A();
C) A a=new int()
D) A a=new A();
题目列表

你可能感兴趣的试题

微信扫码免费搜题