Find Jobs
Hire Freelancers

Create some shapes(really basic)

$30-5000 USD

已完成
已发布将近 21 年前

$30-5000 USD

货到付款
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
项目 ID: 2923568

关于此项目

10提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$7 USD 在14天之内
4.7 (62条评论)
5.2
5.2
10威客以平均价$25 USD来参与此工作竞价
用户头像
See private message.
$21.25 USD 在14天之内
4.4 (73条评论)
5.5
5.5
用户头像
See private message.
$29.75 USD 在14天之内
5.0 (35条评论)
5.0
5.0
用户头像
See private message.
$9.35 USD 在14天之内
4.9 (79条评论)
4.7
4.7
用户头像
See private message.
$17 USD 在14天之内
5.0 (35条评论)
4.6
4.6
用户头像
See private message.
$42.50 USD 在14天之内
4.8 (34条评论)
4.4
4.4
用户头像
See private message.
$42.50 USD 在14天之内
5.0 (18条评论)
3.5
3.5
用户头像
See private message.
$21.25 USD 在14天之内
4.9 (21条评论)
3.3
3.3
用户头像
See private message.
$21.25 USD 在14天之内
4.9 (12条评论)
2.8
2.8
用户头像
See private message.
$34 USD 在14天之内
4.7 (11条评论)
2.4
2.4

关于客户

UNITED STATES的国旗
United States
5.0
3
会员自4月 5, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。