Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q40: Only a fixed number of elements can
Q41: When a boolean array object is instantiated,
Q42: The statement dataType[][][] arrayName; would declare a
Q43: Given the declaration int[] list = new
Q44: What is the output of the following
Q46: Arrays have a fixed number of elements.
Q47: Consider the following method definition. public static
Q48: The following statement creates alpha to be
Q49: Suppose that sales is a two-dimensional array
Q50: Which method would you most likely use