# 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.
Java LocalDate getYear Method
|
60 : 00
Pro user can extend the session by one hour with 5 minutes remaining
Click the virtual machine below to start practicing