|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Country
A Country.
| Constructor Summary | |
Country()
Construct a Country object. |
|
| Method Summary | |
double |
getArea()
Gets the area of the country. |
double |
getDensity()
Gets the density of the country. |
java.lang.String |
getName()
Gets the name of the country. |
double |
getPopulation()
Gets the population of the country. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Country()
| Method Detail |
public java.lang.String getName()
public double getPopulation()
public double getArea()
public double getDensity()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||