Static modifiers and exceptions

  • 8
  • Locked
Let's throw some exceptions! In a static block, throw an Exception so that the class doesn't load and you see an error message instead of the value of the variable.
You can't complete this task, because you're not signed in.