# Introduction In this lab, you will learn about the `sum()` method of the `Double` data type and how to use it to add two numbers. The `sum()` method is very useful when we want to add two floating-point numbers. It returns the numeric sum of the two double values passed as arguments. The `sum()` method is part of the `java.lang` package.
Click the virtual machine below to start practicing