A file contains a set of records describing countries. Each record consists of the name of the
Question:
A file contains a set of records describing countries. Each record consists of the name of the country, its population, and its area. Suppose your task is to write a program that reads in such a file and prints
• The country with the largest area.
• The country with the largest population.
• The country with the largest population density (people per square kilometer).
Think through the problems that you need to solve. What classes and methods will you need? Produce a set of CRC cards, a UML diagram, and a set of javadoc comments.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: