赞
踩
import java.io.*;
public class Text1 {
public static void main(String args[]) {
try {
InputStreamReader isr = new InputStreamReader(System.in);
System.out.println("args[0] = " +args[0]+ ", args[1] = "+ args[1] +", args[2] ="+ args[2]);
}
catch(Exception e) {
System.out.println("这是一个异常测试");
e.printStackTrace();
}
}
}
2、运行结果Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。