Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Hello,  I post my class and test docx..I am running

Hello,<br/><br/><br/>  I post my class and test docx..I am running

into errors and I need help. There are to many to run and right now my brain is fried to think..lol

class TestPolygon{TestPolygon = new TestPolygon(); // One polygon using the no arguement//constructornew TestPolygon(11,12,130,14,88); //Four Remaining polygonsnew TestPolygon(1118,-1117.0,-114.0,113.0,112.0,1166.0);new TestPolygon(255,-15,-155,-252,152,132);new TestPolygon(15,145,1-54,-13,132,142);}public sta±c void Main(String[] args){TestPolygon= new TestPolygon(); // One polygon using the no arguement//constructornew TestPolygon(11,12,130,14,88); //Four Remaining polygonsnew TestPolygon(1118,-1117.0,-114.0,113.0,112.0,1166.0);new TestPolygon(255,-15,-155,-252,152,132);new TestPolygon(15,145,1-54,-13,132,142);}}{System.out.println(“toString() results: ” + ” “); //Call all methods to//display results for all ²ve polygonsSystem.out.println(“getNumSides() results: ” + “getnumSides()”);System.outprintln(“getSideLength() results: ” + “getSideLength()”);System.out.println(“getXCoord() results: ” + “getXCoord()”);System.out.println(“getYCoord() results: ” + “getYCoords()”);System.out.prinln(“getApothem() results: ” + “getApothem()”);System.out.println(“getPerimeter() results: ” + “getPerimeter()”);System.out.println(“getArea() results: ” + “getArea()”);System.out.println(““);System.out.println(“setNumSides() results: ” + “setNumSides()”);System.out.println(“setSideLengths() results: ” + “setSideLength()”);System.out.println(“setXCoord() results: ” + “setxCoord()”);System.out.println(“setYCoord() results: ” + “setyCoord()”);System.out.println(“setApothem() results: ” + “setApothem()”);System.out.println(“**************************************”);for(int i=0; i<P_array.length; i++) // uses for method and con±nues to get//and set results un±l all 5 polygons are printedSystem.out.println(“toS±ng() reuslts: ” + “”);System.out.println(“getNumSides() results: ” + “getNumSides()”);System.out.prinln(“getSideLegnth() results: ” + “getSideLength()”);Systm.out.println(“getXCoord() results: ” + “getXCoord()”);System.out.println(“getYCoord() results: ” + “getYCoord()”);
Background image of page 1
System.out.println(“getApothem() results: ” + “getApothem()”);System.out.println(“getPerimeter() results: ” + “getPerimeter()”);System.out.println(“getArea() results: ” + “getArea()”);System.out.println(““);System.out.println(“setnumSides(6) results: ” + “setnumSides(6)”);System.out.println(“setSideLength(52) results: ” + “setSideLength”(52));System.out.println(“setXCoord(-11) results: ” + “setXCoord(-11)”);System.out.println(“setYCoord(-1444) results: ” + “(-1444)”);System.out.println(“setApothem(133) results: ” + “setApothem(133)”);System.out.println(“****************************************”);}}
Background image of page 2

Step-

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"