Question: IN JAVA Don't bother with the optional implementation Create a class called Washington that implements the following interface interface City( //converts latitude and longitude in
IN JAVA
Don't bother with the optional implementation
Create a class called Washington that implements the following interface interface City( //converts latitude and longitude in String form to double form public double convertLat(String lat); public double convertLon(String lon); l/print Neighborhoods in alphabetical order, might need to google some places public void printNeighborhoods(String one, String two, String three); //confirm that zipcode is in Washington DC, might need to google range public boolean confirmZip (int zipcode) The input is: 38.9872 N. The output is: 38.9872 //Optional Implementation: public void exercise_1_optional_Q10; public void exercise_1_optional_Q20; public void exercise_1_optional_Q30; public void exercise_1_optional_Q40; The input is: 77.0369 W. The output is: 77.0369 Input: Columbia Heights, Shaw, Adams M Output: Adams Morgan, Columbia Heights The zipcode 20008 is in DC The zipcode 98210 is NOT in DC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
