Answer:
The get() method of the ArrayList class accepts an integer representing the index value and, returns the element of the current ArrayList object at the specified index. Therefore, if you pass 0 to this method you can get the first element of the current ArrayList and, if you pass list.
According to your question which state and ask on what needs to be done to the hard drive and what to do these two task do, base on my research, I would say that first it needs to be partitioned into logical volumes then formatted so that it would readable by the operating system. I hope this would help
Whats the question supposed to be so I can answer it?