Because a vector container uses a dynamically allocated array to hold its elements, it is common for the vector class to allocate

a. less memory than it needs
b. more memory than it needs
c. a separate memory location for copies of new elements
d. None of these


b. more memory than it needs

Computer Science & Information Technology

You might also like to view...

Java requires that users have access to the ____ in order to create an executable Java applet.

A. DTD B. JDK C. ECMA D. DDL

Computer Science & Information Technology

What grocery list results from the following sequence of ADT list operations?

``` aList = a new empty list aList.insert(1, "butter") aList.insert(1, "eggs") aList.insert(1, "milk") ```

Computer Science & Information Technology

Which of the following protocols would be the best retrieval protocol if you wanted to use several computers and leave the messages on the e-mail server?

A) IMAP B) POP3 C) POP4 D) SMTP

Computer Science & Information Technology

The ________ pane helps you focus on the flow of ideas

Fill in the blank(s) with correct word

Computer Science & Information Technology