Stuck on a task
Will Paypal 10 bucks/pounds to first one to do this for me
Thanks in advance
Implement a subclass Square that extends the Rectangle class. In the constructor, accept the the x- and y- coordinates of the centre and the siude length of the square. call the setLocation and setSize methods of the rectangle class (look these up !!) Also supply a method getArea that returns the area of the square. Write a
test class that makes use of the square class.
Cheers