PRG 420 Wk 5 Discussion – Comparisons of Time and Date

0 items
PRG 420 Wk 5 Discussion - Comparisons of Time and Date
PRG 420 Wk 5 Discussion – Comparisons of Time and Date
$5.00
  • Description

PRG 420 Wk 5 Discussion – Comparisons of Time and Date

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

This week’s supporting activity asks you to create a simple Java™ app that identifies and displays information about the current date, time, and day of week.

If you were not able to complete the Supporting Activity, “Working with Dates,” successfully, post the problems you are having with the code. What compiler error appears? If your code compiles, what incorrect output appears?

If you were able to complete the Supporting Activity, “Working with Dates,” successfully, help your classmates who are having difficulties.

Research and discuss how you could add to the supporting activity’s code by including this comparison:j

If today’s date is later than January 1, 1980, display “Today is later than January 1, 1980” on the console.

If today’s date is earlier than January 1, 2020, display “Today is earlier than January 1, 2020” on the console.

What Java™ methods would you use to code these new requirements?

If you get one or both of these comparisons to work, post the code for your classmates to see.

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.