C is correct. 'Integer.parseInt' can throw a NumberFormatException, and IllegalArgumentException is its superclass
D is correct. This is a ternary nested in a ternary with a little unboxing thrown in.Both of the ternary expressions are false.
A is incorrect because classes implement interfaces, they don't extend them. B is incorrect because interfaces only "inherit from" other interfaces. D is incorrect based on the preceding rules.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.