Question: Java language 1. Create a class Shape which performs the following. a. Provide a method areaCircle which takes one parameter radius as double, calculates and

Java language Java language 1. Create a class Shape which performs the following. a.

1. Create a class Shape which performs the following. a. Provide a method areaCircle which takes one parameter radius as double, calculates and returns the area of the circle as double. [Formula: Area=nr'] b. Provide a method circumCircle which takes one parameter radius as double, calculates and returns the circumference of the circle as double. [Formula: Circumference=27r] c. Provide a method sphereSurfaceArea which takes one parameter radius as double, calculates and returns the surface area of the sphere as double. [Formula: Surface Area=477] d. Provide a method sphere Volume which takes one parameter radius as double, calculates and returns the volume of the sphere as double. [Formula: Volume=4/3#r'] Note: All the methods are static. Use PI and power method from Math class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!