Question: java language pls We need to implement a GeometricForms java interface composed of 3 abstract methods: double getAres0. double getPerimeter0, Void displayO, Create the Rectangle

java language pls

We need to implement a "GeometricForms" java interface composed of 3

abstract methods:

double getAres0.

double getPerimeter0,

Void displayO,

Create the Rectangle java class implementing the GeometricForms interface. In

fact, the display method should print the attribute values, perimeter and area.

A circel is a geometric form with one attribute: radius (double).

Create the Circel java class implementing the GeometricForms interface. In fact,

the display method should print the attribute values, perimeter and area.

Create the main class (TestForms) able to :

- Create an array of 6 GeometricForms called TabForm;

- Insert 4 Rectangles and 2 Circles into the tha TabForm;

- Display only the Rectangle objects.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!