Question: IN JAVA 3) create a private void sortCasinoData() method to sort the casino data by casino location. If casinos are from the same City, then
IN JAVA
3) create a private void sortCasinoData() method to sort the casino data by casino location. If casinos are from the same City, then they should be sorted by profits. City should be sorted alphabetically (from A to Z) and profits should be sorted in descending order, beginning with the highest profits.
****MUST USE a selection sort****
MOCK CSV DATA:
Horseshoe Casino, Chicago, 4500000
Araia, Las Vegas, 12000000
MGM Grand, Las Vegas, 10000000
Ocean Casino, Atlantic City, 8000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
