# 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
You can extend your session by one hour with 5 minutes remaining.
Click the virtual machine below to start practicing