摘要:
ArrayList核心成员变量 private static final int DEFAULT_CAPACITY = 10; private static final Object[] EMPTY_ELEMENTDATA = {}; private static final Object[] DE 阅读全文
摘要:
throw e 是抛出异常,会中断程序,后面的代码都不执行了 e.printStackTrace() 是输出错误日志,并不中断程序 如下代码来说明用法: /** * throw e和e.printStackTrace()的区别 */ public class Demo { public static 阅读全文