The program below is the answer to Liang’s Introduction to Java Programming (9th Edition) Chapter 2 Exercise 2.8.

Question: (Current time) Listing 2.6,, gives a program that displays the current time in GMT. Revise the program so that it prompts the user to enter the time zone offset to GMT and displays the time in the specified time zone.

Click here to see other solutions to Introduction to Java Programming.

Write A Comment