Multiple choice

What clause identifies a method as one that may throw an IOException or a WidgetException?

  1. throws IoException, WidgetException

  2. catch IOException, WidgetException

  3. throws Exception, WidgetException

  4. throws WidgetException. IOException

Reveal answer Fill a bubble to check yourself
D Correct answer