摘要:
异常处理的五个关键字 try、catch、finally、throw、throws int a = 1; int b = 0; //快捷键 CTRL+ALT+T //假设要捕获多个异常:从小到大 try{ //try监控区域 System.out.println("a/b"); }catch(Exc 阅读全文
摘要:
命令行传参 public class HelloWorld { public static void main(String[] args) { for (int i = 0; i < args.length; i++) System.out.println(args[i]); } } 命令行 cm 阅读全文