# Introduction
In this lab, you will learn how to use the `compareTo()` method from the LocalDate class in Java. This method is used to compare two different dates and returns an integer value.
Java LocalDate compareTo Method
|60 : 00
Click the virtual machine below to start practicing