下列关于classpath环境变量的说法中,哪一个是正确的 ( )
(A)classpath配置一次后可永久使用
(B)没有classpath环境变量就不能运行Java程序
(C)classpath环境变量可以让虚拟机找到class文件的目录
(D)查看当前classpath配置的命令是:classpath
参考答案
继续答题:下一题


更多java基础知识试题
- 1线程是Java程序的( )机制。
- 2( )布局管理器使容器中各个构件呈网格布局,平局占据容器空间
- 3Eclipse是Java开发的( )
- 4下列说法中,不正确的一项是( )
- 5class Main{ public static void main(String[] args) { String str = "runoob"; str.toUpperCase(); str += "wwwrunoobcom"; String string = str.substring(2,13); string = string + str.charAt(4);; System.out.println(string); }}