Java Static Initializer Block

  • + 1 comment

    Very true, but it asks us to display a message indicating that an exception has been thrown, which I think implies that we're supposed to use exceptions.

    • [deleted]
      + 0 comments

      The challenge explicitly asks for a particular message to be printed, which includes 'java.lang.Exception'. Absolutely terrible spec, but we should do what we're told :)