Based upon P7.13 from the text book

 

Create a Country class

This class takes – country name, population, and area as command line args, in sets of three

So, to create two countries, you give it 6 arguments, etc

We will assume good formatting, right # of arguments, etc

Integer.parseInt(); to change a string argument to an integer in our program

For each set of three input args, create a new Country object

Tell the user:

The largest country

The country with the highest Population

The country with the highest population density

Include accessors/mutators for each of the above

Also, keep track of a unique ID number for each country (in case they put in two with the same name) using class members