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
1
Answer:
Option c
Explanation:
Check more details at C world
Answered by
3
Answer:
a) import static java.lang.Math.PI; is the answer
Explanation:
Similar questions
English,
5 months ago
Geography,
5 months ago
Social Sciences,
11 months ago
English,
11 months ago
Physics,
1 year ago