When we reduce the capacity of an array to one half, it is possible to run out of heap memory because:

A. This statement is false. It is not possible to run out of heap memory when reducing the size of an adjustable array.
B. a linked list has to be made to copy the array into before the size is reduced
C. a smaller array is created in the heap first
D. each line of code in a function uses up some heap memory


C

Computer Science & Information Technology

You might also like to view...

A ________ maintains a connection to a database.

a) connection object b) data reader c) StreamReader d) StreamWriter e) Both c and d.

Computer Science & Information Technology

In the accompanying figure of a Microsoft Word 2016 document, which of the following boxes is pointing to the paragraph mark?? ?

A. ?Box A B. ?Box B C. ?Box C D. ?Box D

Computer Science & Information Technology

The Framework Class Library (FCL) consists of more than 2,000 classes.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When planning a website, which of the following is NOT a question you would ask concerning the site?

A. What is my budget? B. What is the timeline? C. What will the site need in ten years? D. Who will update the site?

Computer Science & Information Technology