Java - Basic Console Apps - Week 03 - PastPresentFuture - COIT11222
@MoosesValley - Software development, SciFi, Doggies, Animal Rescues, Quad Bikes, and more
Working through the tutorial question for PastPresentFuture, which involves a Java program that includes: Part A:
- getting day, month, and year user input via the Scanner class,
- getting the day, month, and year for the current system date,
- comparing the days, months, years,
- displaying results to the user on the Console screen. Part B:
- using the user's input to construct a LocalDate object: LocalDate.of()
- getting the system date as a LocalDate object: LocalDate.now(),
- using LocalDate class methods isBefore() and isAfter() to compare the dates,
- displaying results to the user on the Console screen.
My Github where you can find the source code:
My Java Software Development YouTube channel:
My web page:
- Moose's Software Valley - Established July, 1996. https://rebrand.ly/MoosesSoftware ... https://www.youtube.com/watch?v=0GdU09Vb4Ek
2020-05-07
0.0 LBC
Copyrighted (contact publisher)
121262848 Bytes