Computer Science, asked by sarkarsid, 8 months ago

Given the below code:
_________________
public class AreaCalculator {
public double calculateArea(double radius) {
double area = Pl* radius * radius; //Instead of Math.PI
return area;
Drag and drop the correct statement to use the static variable Pl.fill the underline part
a)import static java.lang. Math.PI;
b)import java.lang. Math.PI
c)import static java.lang. Math;​

Answers

Answered by Bhavikshah2005
1

Answer:

Option c

Explanation:

Check more details at C world

Answered by devduttchottu
3

Answer:

a) import static java.lang.Math.PI; is the answer

Explanation:

Similar questions