a java program
Write a program in which main creates a Double ArrayList
containing 10 randomly generated doubles. Main shouldthen
call makeArray, passing it the ArrayList. makeArrayshould
create an array just big enough to accommodate thenumbers in
the ArrayList. It should then copy the numbers inthe
ArrayList to the array. Finally makeArray shouldreturn the
array. On return, main should display the array.
Expert Answer
An answer will be send to you shortly. . . . .