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