wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes $10 via Paypal to whoever can code this for me !! :) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "$10 via Paypal to whoever can code this for me !! :)" Watch "$10 via Paypal to whoever can code this for me !! :)" New topic
Author

$10 via Paypal to whoever can code this for me !! :)

Doug Muzza
Greenhorn

Joined: Aug 31, 2005
Posts: 1
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
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
if you're having trouble with that assignment, quit the course and get your money back
 
wood burning stoves
 
subject: $10 via Paypal to whoever can code this for me !! :)
 
Similar Threads
What is the shape of the class to represent in UML
NoSuchMethodError
Rectangle Class Assignment-need help
Doubt on Dynamic polymorphism
cant figure out whats wrong with my absract class