Default Constructor for AmericanCity, when called it
initializes both the city name and the state code to
NOWHERE.
Preconditions: The AmericanCity() constructor is called
by a program and the result is assigned either to a variable of type
AmericanCity or is passed to another method as a parameter of type
AmericanCity.
Postconditions: An AmericanCity object is constructed
and memory is reserved for use for that object.
Second Constructor for AmericanCity, when called it
initializes both the city and the stateCode to
values provided in the parameter list.
Preconditions: This constructor is called
by a program and the result is assigned either to a variable of type
AmericanCity or is passed to another method as a parameter of type
AmericanCity.
Postconditions: An AmericanCity object is constructed
and memory is reserved for use for that object.
Default Constructor for GeographicCoordinates, when called it
initializes the degrees and minutes to 0, and the direction
to '?'.
Preconditions: The GeographicCoordinates() constructor is
called by a program and the result is assigned either to a variable
of type GeographicCoordinates or is passed to another method as a parameter
of type GeographicCoordinates.
Postconditions: A DistanceMeasurment object is constructed
and memory is reserved for use for that object.
Second Constructor for GeographicCoordinates, when called it
initializes the degrees, minutes, and direction instance
variables to the values provided in the parameter list.
Preconditions: This constructor is called
by a program and the result is assigned either to a variable of type
GeographicCoordinates or is passed to another method as a parameter of type
GeographicCoordinates.
Postconditions: A GeographicCoordinates object is constructed
and memory is reserved for use for that object.