# Introduction In this lab, you will learn how to use the `minusYears()` method from the LocalDate class in Java to subtract years from a given date. This method allows you to perform date arithmetic with ease in your Java programs.
Click the virtual machine below to start practicing