已知有下列类的说明,则下列( )语句是正确的。 publicClass Test{ private float f=1.0f; int m=12; static int n=1: public static void m

admin2009-01-15  35

问题 已知有下列类的说明,则下列(    )语句是正确的。    publicClass Test{    private float f=1.0f;    int m=12;    static int n=1:    public static void main(Stringarg[]){    Test t=new Test():    }    }

选项 A、t.f;
B、this.n;
C、Test.m;
D、Test.f;

答案1

解析
转载请注明原文地址:https://kaotiyun.com/show/qQnp777K
0

最新回复(0)