Which statement is false?

a. The Collections API provides a set of public static methods for converting collections to unmodifiable versions.
b. Unmodifable wrappers throw ModificationExceptions if attempts are made to modify the collection.

c. You can use an unmodifiable wrapper to create a collection that offers read-only access to others while allowing read-
write access to yourself.

d. You can create the kind of collection mentioned in part (c) simply by giving others a reference to the unmodifiable
wrapper while you also retain a reference to the wrapped collection itself.

b. Unmodifable wrappers throw ModificationExceptions if attempts are made to modify the collection.

Computer Science & Information Technology

You might also like to view...

Default type parameters are allowed only:

a. If the class template also has nontype parameters. b. If the class template does not have any nontype parameters. c. If the class is used as a container class. d. As the rightmost (trailing) parameters in a template’s type-parameter list.

Computer Science & Information Technology

What is the output on PC1 when the ping command is issued?

What will be an ideal response?

Computer Science & Information Technology