Find Jobs
Hire Freelancers

Create some shapes(really basic)

$30-5000 USD

Completed
Posted almost 21 years ago

$30-5000 USD

Paid on delivery
This program requires you to do the following things: Create and use abstract classes and methods Create classes that extends other classes Use method overriding and polymorphism Note:- Abstract classes and methods are named in italics. Shape Shape(); //constructor color String representation of color. Default is "white". getColor() getter method for the color getArea() Do'nt know how to compute it. getPerimeter() Do'nt know how to compute it. toString() Defined in the object class. Override it. Circle Circle extends Shape Circle(); Circle(double radius) Circle(double radius, String c) radius variable of type double. Default value is 1.0 getRadius() getter for radius getArea() Inheritted from the super class Shape. Override all these methods. getPerimeter() toString() Rectangle Rectangle extends Shape Rectangle() Rectangle(double w, double h) Rectangle(double w, double h, String c) width height variables of type double. Default value is 1.0 getWidth() getter for width getHeight() getter for height getArea() Inheritted from the super class Shape. Override all these methods. getPerimeter() toString() Cylinder Cylinder extends Circle Cylinder() Cylinder(double r, double h) Cylinder(double r, double h, String c) length variable of type double getLength() getter for length getVolume() getter for volume getArea() Inheritted from the class Circle. Override all these methods. getPerimeter() toString() ***************** Write a test program "ShapeTester" that creates a few circles, cylinders and rectangles, all with different colors and stores them in an array of Shape objects. Write a method identify in shape tester, in which each object in the array will identify itself. Output of the test program will be the sum of areas, sum of perimeters of all the objects, and the detailed identity of each object in the array. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform Need this written in jave for windows platforms. I will need source code as well as an .exe
Project ID: 2923568

About the project

10 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 14 days
4.7 (62 reviews)
5.2
5.2
10 freelancers are bidding on average $25 USD for this job
User Avatar
See private message.
$21.25 USD in 14 days
4.4 (73 reviews)
5.5
5.5
User Avatar
See private message.
$29.75 USD in 14 days
5.0 (35 reviews)
5.0
5.0
User Avatar
See private message.
$9.35 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$17 USD in 14 days
5.0 (35 reviews)
4.6
4.6
User Avatar
See private message.
$42.50 USD in 14 days
4.8 (34 reviews)
4.4
4.4
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (18 reviews)
3.5
3.5
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (21 reviews)
3.3
3.3
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (12 reviews)
2.8
2.8
User Avatar
See private message.
$34 USD in 14 days
4.7 (11 reviews)
2.4
2.4

About the client

Flag of UNITED STATES
United States
5.0
3
Member since Apr 5, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.