# Introduction Java `max()` method is a built-in method that is available in the `Double` class of the `java.lang` package in Java. This method is used to return the numerically greater value(maximum value) of the two numbers passed as arguments. If you are working with double values and you want to find the maximum value between two provided values, `Double.max()` method is a convenient way to do that.
Click the virtual machine below to start practicing