摘要: NullPointerException 其实就是空指针异常 // NullPointerException public class Main { public static void main(String[] args) { String s = null; System.out.printl 阅读全文
posted @ 2026-05-13 11:54 Time_q 阅读(53) 评论(19) 推荐(0)
摘要: Java标准库定义的常用异常包括 Exception ├─ RuntimeException │ ├─ NullPointerException │ ├─ IndexOutOfBoundsException │ ├─ SecurityException │ └─ IllegalArgumentExc 阅读全文
posted @ 2026-05-13 11:15 Time_q 阅读(17) 评论(0) 推荐(0)