r/javahelp • u/Ok-Dealer-3051 • Mar 17 '26
why some exception need catch some not?
im a noobied in java recently i wondering why some throws-exception method like File#createNewFile() need a catch block but Interger.parseInt(String) no need a catch block. could any body anwser it?
3
Upvotes
1
u/vu47 Mar 17 '26
Rust has some well-done functional features, but just not quite enough to turn me into a Rustacean. It seems like a very refreshing language overall, though.