Error3.java.html

  1  public class Error3
  2  {
  3     public static void main(String[] args)
  4     {
  5        System.out.println(1 / 0); 
  6           // A run-time exception. The program terminates.
  7     }
  8  }