Global Superstore 4
Prerequisite: You wrote the solution for part 3.
Goal: Modify your threads to invoke
run() method inside a
void. If you need to return a value:
call()method returns a value.
Modify your threads to invoke
Runnables. Then, use the
get()method to retrieve the value from each task.
>>: Please enter your name to access the Global Superstore dataset: Rayan >>: Thank you Rayan. The average sales for Global Superstore are: >>: Average Furniture Sales: 9799.21280813723 >>: Average Technology Sales: 9854.096986549781 >>: Average Office Supplies Sales: 9540.319577001303 >>: Total Average: 9651.778039610392