And the command-line invocation:
Java Tracker 12 11
What is the result?
A.
General category
B.
class InvalidAgeException
C.
class java.lang.IllegalArgumentException
D.
class java.lang.RuntimeException
Explanation:
The second argument 11 makes the program to throw an InvalidAgeException due to the line:
if (age < 12)
throw new InvalidAgeException ();
B