總結(jié)來說就是
checked exception是在compile time 檢查的富弦,unchecked exception是在run time 檢查的≡涞啵【通常由于bad input】
checked exception報(bào)錯(cuò)如果我們沒有寫try catch or Throws Exception.
unchecked exception報(bào)錯(cuò) 通常由于divide by 0 等等。所以u(píng)nchecked exception也屬于run time exception的一種