Submission Instructions 1. Due dete: Sunday, Jar 8fh, 2029 at 11:59 pnn 2. You can discnes answers with your colkngues. But no coyryinge 4. The exported peoject name mast bey A ssignmente3. ID. First. Vame. Rast. Name. aip. 5. Uow the diefanit juarkaner. atrog cthereiw you will recelve at ZRIRCO. 7. Write sour eame anil usiversity ID as a coenment at the start of all jasa files. 8. Make sieve to use the corfect spelling for classes, nuethels, and variabirs Shape intertaces Methoris: - get gra()= a getPerimeterl g : Qucdrilateral class: Attriluttes: - parallelt the number of parallel edges pains (0,1, or 2). Methods: [ Quadrilaterul( p : int ); cotstractor. - getParallel() z parallel getter. Square class: Attributes: - lengthz the length of the square's edges. Methods: [ Square(length: double): coustructor. A square has 2 parallel edge pairs. E getLength(): length getter. Rectangle closs: Attributes: - length: the length of the rectangle. - width: the width of the rectangle: Methods: - Rectangle(Iz double, wt double): constructor. A rectangle has 2 parallel edge pairs. - getLength(); length getter. n get Width(): width getter. Triangle cluss: Attributes: - congruent: the number of congruent edges (0,2, or 3). Methods: n Triangle(e: int): constructor. - getCongruent(): congraent getter. Equilateral clas: Ateributes: - side: the length of the equilateral's sides. Methods: - Equitateral(sidez double)z constructor. An equilateral has 3 congrucat sides. - getSide(): side getter. RightTriangle class: Attributes: - base: the length of the right triangle's burs., - height: the height of the right triangle. Methods: [ RightTriangle(b: double, hz double) z constructor. A right triangle has 0 or 2 (only if base and height are equal) congruent sider. Note: to chock if the base and the hright are oqual, wse (Boolcan erpression Y trar z false ). - getBase(): base getter. - getHeight(): height getter. - calculateHypotenuse(): base2+hright2. Plane class: Methods: - Plane(size: int): constructor. [ addShape(s: Shape); this method adds shape s to the plane A shape can be of type Square, type Rectangle, type Equilateral, or type Right Triangle. - deleteShape(s: double): this method deletes all shapes from the plane with an evlgr(length, width, side, base, or height) smaller then or equal to s. Then returns the number of shapes deleted. - display All(): Display all shapes. - countQuadrilateral(): this method returns the number of all quadrilateral in the pilane- - getBigArea(a: double): this method returns an array of all Shapes with area greater than or equal to a. - getPerimeter(p1z double, p2: double): this method returns an array of all Shapes with perimeter greater than or equal to pI and smaller than or equal to p2. Write a class Main with a main method doing the following: - Create the 8 objects as followss: - Square: length =10 - Rectangle: length =10, width =20 - Equilateral: side =10 - Right Triangle: base =10, beight =20 - Siquare: length =20 - Rectangle: length =20, width =30 - Equiluteral: side =20 - Right Triangle: base =20, height =30 - Create a Plane with size 10. - Add the previotialy crated objects to the plane - Display all the shapes in the plane. - Display the number of quadrilaterals in the plane. - Display all shapes with area larger than or equal to 200. - Display all shapes with perimeter between 50 and 100 (inclusive). - Delete all shapes with a sade(edge) saualler than of equal to 10 . Then display the number of deleted shapes. - Display all the shapes in the plane. Sample run: (Note: String . format (" H. 2f", value) is tued in the sample ran to mabe the output fit the polf) A.1. the shapes1 Bquare IL-10,01, Arear. 100,0. Perimetera 40,0 . 2 paraldel pairs. Equilateral [ 110,0], Areat 43.30, Ferineteet 30.0,3 congruent aldes. The nupler of quadrilaterals in the plane ia 4 . The ahapes with area greater than or equal to 200 t Rectangle [t-10.6, W=20.6]. Areas 200.6, Ferimeteri 60.0, 2 parallel paits. Bectangle [L-20.0, w-30.0], Areas 600,0, Ferdmetera 100.0, 2 paraliel palrs. The abopes with perimeter between 50 and 100 thuclustvela Square {20,0]. Rrea: 400,0 . Ferimeter; so, 0, parallet patra. beetangle {L20,0,W=]0,0}, Areaz 600,0 , Ferimeter? 100+0,2 parallel pairx. Equilateral {5=20,0]. Areal 173.21, Ferimeter 40.0,3 conjruest aldes. Beleting shapes with edpen less than or equal te lt. the nu-ber of deleted ahapes is 4 All the shapes afcef the deletes Bectangle {L=10,0,w=$0,0}, Mreaz 600,0 , Fertnecera 100,0,2 paralle1 paift