摘要:
ie11 版本以下: let version = navigator.userAgent.toLowerCase() // 判断是否是ie let isIE = version.indexOf('msie') > -1 if (isIE) { let ver = version.match(/msi 阅读全文
摘要:
异常处理 1.异常 什么是异常?异常是在程序中导致程序中断运行的一种指令流。 示例: public class Demo { public static void main(String[] args) { Scanner input = new Scanner(System.in); System 阅读全文
摘要:
可变参数 public class Demo { public static void main(String[] args) { int sum = Demo.sum(1,2,3,4,5,6,7,8,9,10); System.out.println(sum); } /** * int... nu 阅读全文