Create a JAVA class called SortFile. It has a single attribute  – – an ArrayLis

Create a JAVA class called SortFile. It has a single attribute 


an ArrayLis

Create a JAVA class called SortFile. It has a single attribute 


an ArrayList of integers.The class constructor will receive a file anme as its parameter. This file will contain abunch of numbers. The constructor will read the numbers and add them to the ArrayList.The class will also have a method called sort. This method will receive no input and doesnot return anything. It will sort the ArrayList in ASCENDING order. It will use theQuicksort algorithm to do so
.
DO NOT USE THE PREDEFINED COLLECTIONSSORT METHOD! Theresultant ArrayList should not have duplicate values. You can either ignore duplicatevalues as your sort the list, or remove them after you have sorted it
.
I do not care whichway you do it
,
so long as the finished sorted ArrayList does not contain duplicate values.The final method of this class is printList. It also does not receive any input nor returnanything. It will print the contents of the ArrayList, in order, where each value isseparated by a comma. The final number does not have a comma at the end, but a periodinstead.

Struggling with your essay and deadlines⏰?

Get this or a similar paper done in as fast as 4 hours, 24/7✍.

NB: We do NOT sell prewritten papers. All essays are written from scratch according to are specific needs and instructions.

Secure Service,  Plagiarism Free,  On-time Delivery⭐.

NB: Our papers should be used for revision purposes.