Question: Thinking back to the CSV file ( comma-separated values file ) and the provided Java application to process the CSV file, why is it advantageous
Thinking back to the CSV file (comma-separated values file) and the provided Java application to process the CSV file, why is it advantageous to place a reliance upon the Vector class instead of a conventional array of doubles? Consider the fact that Vectors can grow and shrink as needed, while once memory is allocated for an array, its size cannot change. Bear in mind we do not know how many temperature readings there are in the CSV file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
