# can anyone possibly make a uml diagram for this i have never had to make one and not 5187397

Can anyone possibly make a UML diagram for this? I have never had to make one and not sure what it would look like… please. Thanks in advanced!

Write a class that has three overloaded static methods for calculating the areas of the following geometric shapes: circles, rectangles, cylinders.

Here is the java code:

import java.util.*;

public class Area

{

public static double area(double radius)

{
} // end return (double)(Math.PI*Math.pow(radius,2));

public static int area(int length, int width)

{
return (length * width);
} // end return (length * width);

public static double area(double radius, double height)
{
} // end return (double)(Math.PI*Math.pow(radius,2)*height);

public static void main(String args[])

{
System.out.println(“This is a program to calculate the area of the following: ncircle, rectangle, and cylinder. n n “);

//    AREA OF A CIRCLE
Scanner in = new Scanner(System.in);
System.out.println(“Circle:”);
double radius = in.nextDouble();
System.out.printf(“The area of this circle is: %.2fn”,Area.area(radius));

//   AREA OF A RECTANGLE
System.out.println(“nnRectangle:”);
System.out.println(“Please enter the length of your rectangle:”);
int length = in.nextInt();
System.out.println(“Please enter the width:”);
int width = in.nextInt();
System.out.println(“The area of this rectangle is: “+Area.area(length,width));

//   AREA OF A CYLINDER
System.out.println(“nnCylinder:”);