【简答题】已知有下列类的说明,则下列哪个语句是正确的? public class Test{ private float f = 1.0f; int m = 12; static int n=1; public static void main(String arg[]) { Test t = new Test(); } }A. t.f; B. this.n; C. Test.m; D. T...
【单选题】已知有下列类的说明,下列语句正确的是( )。 public class Test{ private float f = 1.0f; int m = 12; static int n=1; public static void main(String args[ ]){ Test t = new Test( ); } }
【单选题】已知有下列类的说明,则下列哪个语句是正确的? ( ) public class Test { private float f=1.0f; int m=2; static int n=1; public static void main(String arg[]) { Test t=new Test(); } }