1. Write a program in Java to do the following a. The programshould ask me to input the time (hour, min, second) the hour is inthe 24 hour format (example 6:00 pm is 18:00) and the city AbuDhabi or New York) b. Given the time in one of these two cities,the program should display the time for both cities (Abu Dhabi andNew York).
Expert Answer
An answer will be send to you shortly. . . . .