Write a method called area that accepts as a parameter the radius of a circle and that

Question:

Write a method called area that accepts as a parameter the radius of a circle and that returns the area of the circle. For example, the call area(2.0) should return 12.566370614359172. Recall that area can be computed as pi (π) times the radius squared and that Java has a constant called Math.PI.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: