Given:
try { int x = Integer.parseInt("two"); }
Which could be used to create an appropriate catch block? (Choose all that apply.)
C and D are correct.
Integer.parseInt can throw a NumberFormatException, and IllegalArgumentException is its superclass (that is, a broader exception).
A, B, E, and F are not in NumberFormatException's class hierarchy.