For the task we’ll build a class representing a Rectangle. The tests for this task will not check what’s happening inside the class you create,

For  the task we’ll build a class representing a Rectangle. The tests for  this task will not check what’s happening inside the class you create,  so it’s up to you as to what data members you use. The tests will also  assume you can write methods and constructors correctly. . Okay, now the task itself. Your  company is doing some consulting work and the client has asked for a  new, more exciting version of their existing Triangle. They want a  Triangle, but with an extra side, which marketing are calling . To meet the specification you need to create a class called Rectangle with the following methods: You  don’t have to worry about not-right-angled quadrilaterals (so there’s  only squares and rectangles, no parallelograms, rhombi, trapezoids  etc.). You also start with nothing in the scaffold. You will have  to create a suitable file for the class. The run button will assume that  Rectangle has a main method, but it’s not part of the tests, so you  don’t have to write it if you don’t care about it.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer