Question: java solve in 30min Vrite a class named FinalExam that extends abstract Geometri cObject and implements the comparable and Cloneable interfaces, the underneath UML describe

Vrite a class named FinalExam that extends abstract Geometri cObject and implements the comparable and Cloneable interfaces, the underneath UML describe the data members and methods. Both getArea() and getPerimeter() are abstract. Assume that FinalExam is a shape that has all eight sides are of equal size. The area can be computed using the following formula: area =( 2 + 47 72 ) * side * side GeometricObject -color: String -filled: boolean -dateCreated: java.util.Date #GeometricObject() #GeometricObject(color: string, filled: boolean) +getColor: String +set Color (color: String): void +isFilled: boolean +setFilled(filled: boolean): void +getDateCreated(): java.util.Date +toString(): String +getArea (: double +get Perimeter: double Write testDriver that read Objects from file and store them in arrayList. Sort the Objects in ascending order according to Perimeter of this shape. 1 " B 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
