# Introduction In this lab, we will learn how to use the `lengthOfYear()` method of the `LocalDate` class in Java. This method returns the length of a year in days. We will write Java code to demonstrate the use of this method.
Click the virtual machine below to start practicing