1_1. 配 Java 环境变量。 path 变量的配置。 classpath 变量的配置。 1_2. 编译、运行 Java 的源程序。 public class Hello{ public static void main(String args[]){ System.out.println("hello,world"); } 1_3. 编写含有 2 个类的源程序。注意文件的命名,查看生成几个字节码文件。运行主类字节码文件,查看运行结果。 public class Hello{ public static void main(String args[]){ System.out.println("hello,world"); Student stu=new Student(); stu.speak("we are student."); } } class Student { public void speak(String s){ System.out.println(s); } }