En cours

Write some Software

Based on the classes Point, Circle, and Cylinder considered in class, create a project containing classes Point (you can use one of those discussed in class), Line, and Rectangle. The class Line should extend the class Point, adding the member variable, say, length representing the length of the line (assume that a line is horizontal and defined by a point representing its left end and its length); it should contain appropriate methods for setting and getting the length. The class Rectangle should extend Line (representing the widthof the rectangle) and have the member variable representing the height of the rectangle. The class must have methods set and get for setting and getting the height of the rectangle. The class Rectangle should also contain methods for computing the area and the perimeter of a rectangle. All the classes should have appropriate methods toString. Create also a test class (containing main) that would create few objects of Points, Lines, and Rectangles(at least two of each class!), would compute and print out areas and perimeters of the rectangles, and would print complete information about each object (using appropriate methods toString).

To implement inheritance, you can use either specifiers protected for the length and the height, or private, making sure in the latter case that appropriate methods in Line and Rectangle use call to super.

Make sure that the test program runs. Submit a zip file of your NetBeans project using the assignment on the BlackBoard.

Compétences : Java

Voir plus : use case extend, rectangle lines, rectangle line, lines of a circle, line rectangle, is a circle a line, extend use case, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

Concernant l'employeur :
( 1 commentaire ) Bridgeport, United States

N° du projet : #8516665

Décerné à :

hectorenavarrou

FinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFinishFi Plus

10 $ USD en 1 jour
(8 Commentaires)
3.7

26 freelance ont fait une offre moyenne de 12 $ pour ce travail

vano101

Hello. It's easy assignment, it can be completed in couple of hours. Also, I have installed Netbeans 8.0.2 on my computer

10 $ USD en 1 jour
(312 Commentaires)
6.1
dipakjadhav08

A proposal has not yet been provided

15 $ USD en 1 jour
(35 Commentaires)
4.6
mahershahmeer

Hi there! I'm a Professional Software developer and Data Analyst for a well known Software House in Islamabad named PacSquare Pvt Ltd. If I get this job, I assure you that you'll get my best services in return. Plea Plus

10 $ USD en 1 jour
(20 Commentaires)
4.2
deepakmishra1988

Hi, I have an MS in software engineering with 6 yrs of experience in java. I regularly work on such assignments. I've read and understood the requirements well. I can do this quick. Regards, Deepak Mishra

15 $ USD en 0 jours
(13 Commentaires)
3.7
Nawaz091993

Greetings! I am an experienced OOP programmer with top-notch Java programming skills. I can deliver this task quickly with 100% correctness. Looking forward to completing another Java assignment with excellent results.

20 $ USD en 1 jour
(2 Commentaires)
2.4
epsilon001

A proposal has not yet been provided

10 $ USD en 1 jour
(3 Commentaires)
1.6
namitkhandelwal

Hi I am a java developer working since last 4-5 years on java windows and web technologies. Waiting for your reply

15 $ USD en 1 jour
(2 Commentaires)
2.0
Pumboo

Hi, this is an easy task for me. Actually I did the exactly the same task for someone a while ago. Will Finish it in 1 day.

10 $ USD en 1 jour
(1 Commentaire)
1.2
venkatkusuma

I am having 5+years of experience in java, j2EE technologies and working for one of the top MNC in Bangalore. Currently I am working as a project lead for my team. I use to involve doing project architecture, gatherin Plus

10 $ USD en 1 jour
(1 Commentaire)
0.2
gourabsarkar0

A proposal has not yet been provided

15 $ USD en 10 jours
(0 Commentaires)
0.0
MohanedAtef

A proposal has not yet been provided

15 $ USD en 2 jours
(0 Commentaires)
0.0
MateSimovic

I would be a perfect candidate for this project because I just completed a Java course at my university where we started with assignments like this one.(later we did more complicated stuff, so know I am an experienced Plus

10 $ USD en 1 jour
(0 Commentaires)
0.0
mgsouaifi19

Aucune proposition n'a encore été fournie.

20 $ USD en 1 jour
(0 Commentaires)
0.0
veaceslavc86

3 years of experience in java. Since this is my first project i'll do it very cheap and good quality in order to gain my reputation.

10 $ USD en 1 jour
(0 Commentaires)
0.0
sakhana88

I'm certainly new in freelancer but I’m an expert in software engineering, graduated from the Polytechnique University, with 3 years of .Net development experiences. If you can give me a chance to work with you, I c Plus

15 $ USD en 3 jours
(0 Commentaires)
0.0
muratcancicek

It seems a homework of object oriented programming course. I'm still in college with 3.69 GPA and I did too many similar projects for myself and half of my classmates.

10 $ USD en 1 jour
(0 Commentaires)
0.0
ramprasadhk

Hi.I have been doing competitive programming for two years and I do have a very vast knowledge in Java .I have also done my Java course in our engineering curriculum so I assure you that I can complete your project in Plus

10 $ USD en 1 jour
(0 Commentaires)
0.0
marcosmacedo

Hello, I can do your assignment, i have experience in OOP Programming with Java and C#. I will do it quickly and I will gladly explain the code to you. I'm looking forward to hearing from you. Many thanks. Marco Plus

10 $ USD en 1 jour
(0 Commentaires)
0.0
facebook2572

Hi sir....!! i can do that project. I have good skills in java programming and also have good concepts of object oriented techniques. I will deliver you an efficient and reliable code. I have done so many project in j Plus

12 $ USD en 1 jour
(0 Commentaires)
0.0
fahadmaqbool3

Hi i am professional java developer and have 3 year experience in [url removed, login to view] did n't disappoint [url removed, login to view] so you reccomend me for this project

10 $ USD en 1 jour
(0 Commentaires)
0.0