complete the the following class:![1 package oop.Shapes; 2 3 public class ShapeHandler 4 5 II Returns the sum of the volumes of the given shapes. public static double volumeSum(Shape□ shapes) { 7 return 0; I/ Returns the sum of the surface areas of the given shapes. public static double surfaceAreasum(Shape[] shapes) { 10 11- 12 13 14 15 return 0;](https://d2vlcm61l7u1fs.cloudfront.net/media%2Fe60%2Fe609ac82-52a1-4d83-83c4-fef94342ab04%2FphpHskTvO.png)
interface:

Main:

thank you
1 package oop.Shapes; 2 3 public class ShapeHandler 4 5 II Returns the sum of the volumes of the given shapes. public static double volumeSum(Shape□ shapes) { 7 return 0;
PayPal Gateway not configured
PayPal Gateway not configured