Java LocalDate getYear Method

# Introduction The `getYear()` method in Java `LocalDate` class returns the year of a date. In this lab, we will learn how to use the `getYear()` method with examples.

|
60 : 00

Click the virtual machine below to start practicing