单选题 已知如下类说明 public class Test { private float f = 1.0; int m = 12; static int n=1; public static void main(String arg[]) { Test t = new Test(); ____________________________. } } 在空格处如下哪个使用是错误的?【 】

A、 t.f
B、 this.m
C、 t.m
D、 n
下载APP答题
由4l***ct提供 分享 举报 纠错

相关试题

单选题 Computer can execute the code in ____________.

A、assembly language
B、high-level language
C、machine language
D、none of the above

单选题 java字节码文件的后缀是

A、.java
B、.obj
C、.class
D、.exe

单选题 Java ___________ can run from a Web browser

A、applications
B、applets
C、servlets
D、Micro Edition programs

单选题 Every statement in Java ends with ____

A、a semicolon (;)
B、a comma (,)
C、a period (.)
D、an asterisk (*)

单选题 The image object cannot be shared by two ImageViews.

A、The program runs fine and displays two images.
B、The addAll method needs to be replaced by the add method.
C、new Image(\\www.cs.armstrong.edu/liang/image/us.gif\\) must be replaced by new Image(\"http://www.cs.armstrong.edu/liang/image/us.gif\").
D、The image object cannot be shared by two ImageViews.

单选题 The image object cannot be shared by two ImageViews.

A、The program runs fine and displays two images.
B、The addAll method needs to be replaced by the add method.
C、new Image(\\www.cs.armstrong.edu/liang/image/us.gif\\") must be replaced by new Image(\"http://www.cs.armstrong.edu/liang/image/us.gif\").
D、The image object cannot be shared by two ImageViews.

单选题 一个字节包含 ________ 位

A、4
B、8
C、12
D、16

单选题 Which of the following statements is correct?

A、Every line in a program must end with a semicolon
B、Every statement in a program must end with a semicolon
C、Every comment line must end with a semicolon
D、Every method must end with a semicolon