Boost your Grades with us today!

Education homework help

You are required to write a County.java class to represent a county. Every County has a name (name), an area (area) and a number of All-Ireland football wins (footballWins) (as shown in the table). Your class must use the variable names given and appropriate data types to store these values. You are required to write a default and a general constructor, along with getter and setter methods and a toString() method for the class.You are required to write a SortCounty.java file which will use this data to declare an array of 5 County objects within the main method. The data for your 5 County objects will be given using user input. You will also use this main method to call other methods you write.Below you are given data for 5 counties. (See attached)You should then write a static Java method which takes an array of the County objects as a parameter and returns nothing. The Java method should sort the County objects array based on the number of All-Ireland wins using the Bubble sort algorithm. The array should be sorted from smallest to largest. The method signature should look like this:public static void bubbleSortCounty(County data[]) You will then write a static Java method, in SortCounty.java, which takes in the sorted array as a parameter and returns nothing. The Java method should use the toString() method in County.java to print out the sorted array. See sample output below. The method signature should look like this:public static void printCountyArray (County data[])Attachment 1Attachment 2

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.

Need Help? Please contact us