Hello! I'm speaking directly from Brazil and I've been using your channel to clear up key doubts I have with Java!!! Excellent content, one more subscriber!
A checked exception doesn’t necessarily mean an error can be detected at compile time or not (otherwise the compiler would just flag it right away). It just means that you have to provide explicit error handling code. Both checked and unchecked exceptions represent errors that can occur at runtime. The merits of checked exceptions are debatable, but among other checked exceptions, this one makes sense to me because there is reasonable likelihood of code hitting a case like this and you should have specific handling code available for it. Hopefully that helps clarify it a bit!
Fantastic video, Will! 😊
Hello! I'm speaking directly from Brazil and I've been using your channel to clear up key doubts I have with Java!!! Excellent content, one more subscriber!
Thank you! Glad to hear you're liking the content
your videos are fantastic, I dont get it how do you just have 1k subsciber, keep the good work, I just subscibed!!!
Thanks so much for the sub! Glad to hear you’re liking the content
great video
filenotfound should really be unchecked because you have to run the code for it to see that the location is wrong for instance... very weird
A checked exception doesn’t necessarily mean an error can be detected at compile time or not (otherwise the compiler would just flag it right away). It just means that you have to provide explicit error handling code. Both checked and unchecked exceptions represent errors that can occur at runtime. The merits of checked exceptions are debatable, but among other checked exceptions, this one makes sense to me because there is reasonable likelihood of code hitting a case like this and you should have specific handling code available for it. Hopefully that helps clarify it a bit!
@@willtollefson thank you