Just want to be sure, if I’m right , if not, update itpleaseQuestion 2: [20 points] Write a class named Hexagon that extends Geometricobject and has the following specifica- tion. Assume all six sides of the hexagon are of equal size. public class Hexagon extends Geometricobject( private double side; / Construct a Hexagon vith the specified side / public Hexagon (double side) ( //
OR
OR