Write a class named Hexagon that extends GeometricObject and has the following specification. Assume all six sides of the hexagon are of equal size. public class Hexagon extends GeometricObject { private double side; /** Construct a Hexagon with the specified side */ public Hexagon(double side) { // Implement it } /** Implement the abstract method findArea in GeometricObject */ public double findArea() { // Implement it ( ) } /** Implement the abstract method findPerimeter in GeometricObject */ public double findPerimeter() { // Implement it } }

Solved
Show answers

Ask an AI advisor a question