Java Static Initializer Block

  • [deleted]
    + 0 comments

    This doesn't exactly match the challenge's requirements, which is tp print the exception, including 'java.lang.Exception'. I think that's bad, but that's what's being asked.

    How is the scanner 'input' closed?