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
Q40: What is the index number of the
Q41: What does the following statement do? Vector<Double>
Q42: In which package is the class Vector
Q43: Suppose that sales is a two-dimensional array
Q44: Which method of the class vector would
Q45: How many columns are in the array
Q46: What is the value of table[2].length?
A) 0
B)
Q47: What is the value of table.length?
A) 0
B)
Q49: Which method would you most likely use
Q50: Which method would you most likely use
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents