Which limitation of arrays does a vector overcome?

A. Arrays cannot increase in size; vectors can.
B. Arrays cannot be passed as parameters to methods; vectors can.
C. Arrays cannot be searched; vectors can.
D. There is a method that returns the length of a vector; there is no way to find the length of an array.


Answer: A

Computer Science & Information Technology

You might also like to view...

What is the correct term for numbers[99]?

a. index b. index variable c. indexed variable d. array variable e. array

Computer Science & Information Technology

Windows Defender protects your computer from all of the following EXCEPT ________

A) unexpected software updates B) pop-ups C) hacking agents D) malware

Computer Science & Information Technology

The ________ folder holds all the messages you have written that have NOT been uploaded to the server

Fill in the blank(s) with correct word

Computer Science & Information Technology

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

1. All photos lend themselves to resizing. 2. A printed version of a photo is also called a soft copy. 3. When your photo will be used on the Web, you should not pay attention to the file size for your target audience 4. You can activate Photoshop Help by pressing the F1 key. 5. When you quit Photoshop, a dialog box may display asking if you want to save the changes.

Computer Science & Information Technology