This Java program allows users to calculate the area of six common 2D shapes: Rectangle, Triangle, Circle, Regular Polygon, Ellipse, and Trapezoid. Users interact with a simple text-based menu where ...
Problem Description: Design a class named Triangle that extends GeometricObject. The class contains: • Three double data fields named side1, side2, and side3 with default values 1.0 to denote three ...