public class City
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
City(int i) |
City(java.lang.String name,
int zip)
Creates a new instance of City
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
getZip() |