首页 > 编程 > Java > 正文

java 异常

2019-11-08 01:27:36
字体:
来源:转载
供稿:网友
package com.goodboy;import java.io.*;public class TestException { public static void main(String[] args){ try{ int a[] = new int[2]; System.out.PRintln(a[3]); }catch(Exception e){ System.out.println(e); } System.out.println("out of block"); }}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表