Complete a Java program that calculates the roots of a quadratic equation using the quadratic formula. The quadratic equation is given by:
The roots of this equation can be found using the quadratic formula: where is a discriminant and is calculated as .
Note: Let's assume for this task that calculated discriminant will always be positive, and hence the roots of the equation will never be imaginary.