Compare and contrast vectors and arrays.
What will be an ideal response?
Vectors have many built in features that help track the number of elements as well as
provide memory management capabilities. A corresponding array structure would require you to
write much of your own code to accomplish the same tasks. The biggest advantage of vectors over
arrays is the capability to increase and decrease size as necessary. Arrays have a fixed size.
Arrays do not carry the restrictions on base type that vectors impose. The base type of an array can
be of any type; the base type of a Vector is always of type Object. Therefore, storing primitive
values requires a little more work because the appropriate wrapper class needs to be used.
You might also like to view...
________ are settings that control how imported data in cells connect to their source data
Fill in the blank(s) with correct word
The server on a client/server network has specialized ________ software installed.
What will be an ideal response?
Which term describes the status for a socket that is prepared to respond to any IP packets destined for that socket's port number?
A. Open port B. Closed-wait C. Established port D. Ready port
Use the ____________________ command on the Edit menu if you want to tag an image with a specific profile without altering its color value.
Fill in the blank(s) with the appropriate word(s).