Multithreading Assignment
In this homework, you will implement a multithreaded solution to
finding the sum of 9,000,000 double values.
Begin, by creating a method that creates an array (not an
arrayList) of 9000000 double’s and populates each index with a
random number.
Create a class to hold the sum of all the numbers in the array.
Protect access to that sum by using a ReentrantLock appropriately.
This means that only methods in this class can access or modify the
array...