Write a program in Java:Create a class called Airport with the following fields:Identifier.Coordinates which consist ofLatitudeandLongitude. Latitude is positive to indicate is North of the Equator...

Write a program in Java:Create a class called Airport with the following fields:Identifier.Coordinates which consist ofLatitudeandLongitude. Latitude is positive to indicate is North of the Equator and negative when it's located in the southern hemisphere. Longitude is negative to indicate is West and positive to indicate it's East of the Greenwich median.Amagnetic variationwhich also is indicated negative for West and positive for East. It is OK to have no magnetic variation.Elevationabove sea level in feet.For example San Diego airport has the values ID: SAN, Lat: 32.7335556, Long: -117.1896667, Var: 14, Elev: 16.8' (http://www.airnav.com/airport/SAN)The class should have an accessor and mutator methods for each field.When the Longitude is negative it is understood it’s on the West side of the Greenwich Meridian and when the Latitude is negative is understood it’s South of the Ecuador.
Nov 08, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here