do you have to import math in java code example
Example: import math java
import java.lang.Math.*;
// usage
double radius = 15;
double area = Math.PI * radius * radius;
import java.lang.Math.*;
// usage
double radius = 15;
double area = Math.PI * radius * radius;