Error2.java.html

  1  public class Error2
  2  {
  3     public static void main(String[] args)
  4     {
  5        System.out.println("Hello, Word!"); 
  6           // A run-time error. The program doesn't do what it should.
  7     }
  8  }