How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
mySQL Lead Tracking Database
By bkleinhe on Sep 23
Max Bid: $300


System Snapshot Utility (repost)
By emetrix on Sep 23
Max Bid: $75


college project
By mmm12 on Sep 23
Max Bid: $350


Sports/College Basketball Betting Site Layout
By DWDYEM on Sep 23
Max Bid: $50


polynomial using linked list
By ray_05 on Sep 23
Max Bid: $20


Bobblehead MySQL database
By bobblebum on Sep 23
Max Bid: $150


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(197 open)
   Access 
(68 open)
   MySQL 
(128 open)
   Oracle 
(12 open)
   SQL Server 
(79 open)
   Other DB 
(25 open)
Documentation / Tech Writing 
(21 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(44 open)
Game Development 
(22 open)
Graphics / Art / Music 
(58 open)
   Graphics 
(58 open)
     Adobe AfterEffects 
(14 open)
     Adobe Photoshop 
(36 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(21 open)
   Art (Misc.) 
(19 open)
   Music 
(7 open)
   Photography 
(3 open)
   3d Modeling 
(12 open)
Language Specific 
(125 open)
   Assembly / Machine language 
(16 open)
   ASP 
(74 open)
   ASP .NET 
(74 open)
   C# 
(68 open)
   C++ / C 
(174 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(6 open)
   Cold Fusion 
(14 open)
   Delphi 
(61 open)
   Java 
(93 open)
   JSP 
(15 open)
   Perl 
(56 open)
   Python 
(6 open)
   PHP 
(131 open)
   XML/XSL 
(34 open)
   Visual Basic 
(176 open)
   Visual Basic .Net 
(111 open)
   Other 
(75 open)
Misc 
(35 open)
   Middleware 
(3 open)
   CAD 
(4 open)
MultiMedia 
(29 open)
   Video Editing 
(6 open)
Network 
(40 open)
   Network Design 
(7 open)
   Network Implementation 
(7 open)
Platforms 
(76 open)
   Windows 
(201 open)
     MS Exchange 
(12 open)
     MS Office 
(23 open)
     Other 
(19 open)
   Darwin 
(3 open)
   Embedded Systems 
(14 open)
   Hand Held/PDA Programming 
(14 open)
   Internet Browser 
(58 open)
   Linux 
(78 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(43 open)
Requirements 
(14 open)
Security 
(34 open)
Testing / Quality Assurance 
(15 open)
Web 
(166 open)
   Page Design 
(92 open)
   Flash 
(50 open)
   Marketing 
(14 open)
     Search Engine Optimization 
(8 open)
     Marketing (Other) 
(12 open)
   Web Services 
(91 open)
   Web (Other) 
(102 open)
Training 
(9 open)
   Computer Based 
(14 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Homework Help
Bid Request Id: 21933
Bookmark in my 'To Do' list
Posted by: NoleBoy (5 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Unverified
Approved on: Jul 17, 2002
9:46:56 AM EDT
Bidding Closes: Jul 18, 2002
12:00:00 PM EDT
Viewed (by coders): 150 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Java
Enter chat room for this bid request
(0 active users at Sep 23, 2003 3:08:21 PM EDT)

Description:
This problem is driving me crazy...can you help??

Build a class heirarchy based on the abstract class TwoDShape, defined below:

TwoDShape abstract definition

public abstract class TwoDShape{

protected double area, perimeter;
protected String name;

public TwoDShape(String n){
area=0;
perimeter=0;
name=n;
}// constructor

public abstract double computeArea();
public abstract double computePerimeter();

public double getArea(){retrun area;}// getarea
public double getPerimeter(){return perimeter;}// get perimeter

public String toString(){
return name;
}//toString

}//twodshape

Design a concrete class Circle, which will extend from the abstract class.
Also, design a class MyRectangle extended from TwoDShape, as well as a class called Square
extended from My Rectangle. Design the classes to make maximum use of inherited methods and
members and not have to re-invent everything at every class level.

Circle class: This class will have a constructor that will accept a double. That double
will be the radius of the cirlce. It will also have a private double data member called
radius. It must be designed so that the radius can never be set to less than 1. If any attempt
is made to set the radius <1, the radius should be set to 1. Use get and set methods for the
radius, as well as a toString method that returns a string announcing that it is a circle and
giving it's area and perimeter. (use Math class PI).

MyRectangle class: Should have 2 protected double data members, length and width. It will have
a constructor that requires two doubles (length and width). Be sure the length and width cannot
be less than 1. As in the circle, set it to 1, if less than 1. Use set and get methods for length
and width. It's toString method will announce it's a rectangle and give the area and perimeter.

Square: Will have a constructor that accepts a single double, the length of a side. Again, the
side should never be smaller than 1. The square will have a getSide and setSide method.
NOTE: Be sure the get and set methods are inherited from My Rectangle.

The test program for the project will be an application, and need not be interactive. It should
instantiate one each of the concrete classes and test the methods. Use an array of TwoDShapes that
wil be used to reference the instantiated objects and further test them, insuring that polymorphism
works. Use a TextArea on a scroll pane for your output.


Deliverables:
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Complete copyrights to all work purchased.

The documentation for this project will consist of an html file created by javaDoc on the Square
class. Each method defined in that class must have javadoc comments for display.
The docs will use parameter and author tags as appropriate.


Platform:
Windows

Special Conditions / Other:
Must be complete and delivered on 07/17/2002 by 4:00 PM EST


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
AndreT
(21 ratings)
in Chisinau, Moldova
Moldova
Bid id: 241,706
 
$13 (USD) Jul 17, 2002
10:12:34 AM EDT
 9.66
(Excellent)
   

I can do this in a couple of hours.
I guarantee very clear source code with appropriate comments.
Just choose my bid and you will have the code developed in time.


Regards,
Andrei
 
 
 
 
  There are 2 private replies to/from AndreT. Click here to view them.
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Securenext
Rated a 9.97 on 124 jobs 
Buddies
Rated a 9.85 on 94 jobs 
Codman
Rated a 9.97 on 158 jobs 
hernest
Rated a 10 on 122 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 39 jobs 
markesh
Rated a 10 on 23 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 87 jobs 
GribFritz
Rated a 9.89 on 148 jobs 
PSergei
Rated a 9.77 on 106 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.