Introduction
Java's LocalDate
class has several methods that help in getting information about the date. One such method is the getMonth()
method which is used to get the month of a date. In this lab, you will learn how to use the getMonth()
method.