Java基礎(三十一)

異常的捕獲與處理 Java語言提供的最爲強大的支持就在於異常的處理操作上 1:什麼是異常 異常是導致程序中斷執行的一種指令流。 下面觀察沒有異常產生的程序執行結果。 public class Test{ public static void main(String args[]) { System.out.println("【1】程序開始執行"); System.out.println(
相關文章
相關標籤/搜索