write a class named octagon that extends geometricobject and imp
write a class named octagon that extends geometricobject and implements the comparable and cloneable interfaces. assume that all eight sides of the octagon are of equal size. the area can be computed using the following formula:area = (2 + 4/√2)*side*sidedraw the uml diagram that involves octagon, geometricobject, comparable, and cloneable. write a test program that creates an octagon object with side value 5 and displays its area and perimeter. create a new object using the clone method and compare the two objects using thecompareto method.
Price Type: Negotiable
Total Proposals: 19
1 Current viewersl
25 Total views
Proposals Reputation Price offered
- 95 Jobs 45 Reviews $0 in 0 Day