A, B, C, E. Checked exceptions are required to be handled or declared. Runtime
exceptions are allowed to be handled or declared. Errors are allowed to be handled or
declared, but this is bad practice.
Liutauras Vilda wrote:At this point List is size zero probably. Try to use add() instead set().
Etibar Hasanov wrote:But I wonder when it tries to set "Sue"
24. C. Converting from an array to an ArrayList uses Arrays.asList(names). There is
no asList() method on an array instance. If this code were corrected to compile, the
answer would be option A.