

1、判断题:
Java源程序编译后的文件扩展名class( )
选项:
A:对
B:错
答案: 【对】
2、多选题:
编写一个Java程序步骤有( )
选项:
A:编辑
B:编译
C:运行
D:测试
答案: 【编辑;
编译;
运行】
3、判断题:
Java的类名和文件名一致。( )
选项:
A:错
B:对
答案: 【对】
4、判断题:
修改源程序,需要保存后才能有效。( )
选项:
A:对
B:错
答案: 【对】
5、判断题:
程序Hello.java编译正确。( )public class HelloWorld {public static void main(String[] args){ System.out.println("Hello World!"); }}
选项:
A:对
B:错
答案: 【错】
6、判断题:
程序Helloworld.java编译错误。( )public class HelloWorld { public static void main(String[] args){ system.out.println("Hello World!"); } }
选项:
A:错
B:对
答案: 【对】
7、判断题:
下面运行程序通过编译后,运行方式是正确的。( )
选项:
A:错
B:对
答案: 【错】
8、判断题:
下面运行程序通过编译后,运行方式是错误的。( )

选项:
A:对
B:错
答案: 【对】
9、判断题:
下面运行程序通过编译后,运行方式错误。( )
选项:
A:对
B:错
答案: 【对】
备案号:冀ICP备20010840号 2020-2099辉辉网络科技 All Rights Reserved