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.


Unmodifable wrappers throw ModificationExceptions if attempts are made to modify the collection. Actually, they throw UnsupportedOperationExceptions.

Computer Science & Information Technology

You might also like to view...

The symbol for the stream insertion operator is _____________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Formulas and functions can only be applied to fields of data in a table

Indicate whether the statement is true or false

Computer Science & Information Technology

Quotes, shown as ________ symbols, let Excel know that the element they surround is a text string

Fill in the blank(s) with correct word

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 12-2Marissa's monogram business has expanded exponentially since she added an online catalog and ordering to her business.  Her database needs to be expanded and changed to meet the needs of the growing business.  Her database includes tables for monogram styles, catalog products, orders, billing, customers, and vendors. Marissa's assistant suggested other changes be made to the database. After the changes were made, Marissa used the ____ Access tool to optimize the database by having the tool implement recommendations and suggestions.

A. ODBC Database B. Object Dependencies C. Performance Analyzer D. Compact and Repair

Computer Science & Information Technology