is ioexception a checked exception?
2 Answers. Because IOException is a Checked Exception, which should be either handled or declared to be thrown. ... You don't need to handle or declare it to be thrown in method throws clause (Here I mean, it would be syntactically correct if you don't handle the unchecked exception. Compiler won't be angry).