Program: Write a class called GeometryCalculator that includes the subsequent methods:
1. public double calcCircleArea(double radius)
Calculates the area of a circle of a given radius. The formula for the area of a circle is A = PI radius2
2. public double calcSphereVolume(double radius)
Calculates the volume of a sphere with a given radius. The formula for the volume of a sphere is V = 4/3 PI radius 3
3. public double calcRectangleArea(double height, double width)
calculates the area of a rectangle with the specified height and width.
4. public double calcCubeVolume(double side)
calculates the volume of a cube with the specified side length.
Write a class called GeometryDriver which includes the subsequent methods:
5. public static double getDoubleFromInput(String prompt)
uses a JOptionPane.getInputDialog() to get a double from user input. The String parameter is a description of what the double will be used for.
You need to make these java methods and implement these methods in program. Provide all the code.