public class Country extends Object
Constructor | Description |
---|---|
Country(String code,
String name) |
Creates a new Country.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getCode() |
Returns the ISO two-letter country code of this country.
|
String |
getName() |
Returns the name of this country.
|