Ex5_17_1

class Ex5_17_1

{

  public static void main(String args[])

  {

    try{

    int x=1;

    int y=0;

    int z=x/y;

    }

    catch(Exception e)

    {

      System.out.println(e.toString());

    }

  }

}

posted @ 2016-04-28 22:30  榆次老城  阅读(87)  评论(0编辑  收藏  举报