Question: Why is it better to save an entire ArrayList to an object output stream instead of program ming a loop that writes each element?
Why is it better to save an entire ArrayList to an object output stream instead of program ming a loop that writes each element?
Step by Step Solution
3.49 Rating (149 Votes )
There are 3 Steps involved in it
Writing each element of an ArrayList individually to an object output stream would require several write operations and it can potentially negatively ... View full answer
Get step-by-step solutions from verified subject matter experts
