Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

This answer was rated:

for ATLProg Q4 (The Octagon class) Write a class named Octagon…

for ATLProg Q4 (The Octagon class)...
for ATLProg
Q4 (The Octagon class) Write a class named Octagon that extends GeometricObject and implements the Comparable and Cloneable inter- faces. Assume that all eight sides of the octagon are of equal size. The area can be computed using the following formula:
. 
area = (2 + 4/22)*side*side 

Draw the UML diagram that involves Octagon, GeometricObject, Comparable, and Cloneable. Write a test program that creates an Octagon object with side value 5 and displays its
Show More
Show Less
Ask Your Own Homework Question
Answered in 1 minute by:
5/30/2013
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
Hello thanks for requesting me. i will have this ready in few minutes
Ask Your Own Homework Question
Customer reply replied 4 years ago

ok please get me the program 3 as well i already payed for when you were offline and the other expert was trying to do it for me but i did not like his answers cuz its wrong

This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
ATLProg and 87 other Homework Specialists are ready to help you
Ask your own question now
How does it look
Ask Your Own Homework Question
Customer reply replied 4 years ago

can you provide me the third program again wihich is this one


. Q3 (The Colorable interface) Design an interface named Colorable with a void method named howToColor(). Every class of a colorable object must implement the Colorable interface. Design a class named Square that extends GeometricObject and implements Colorable. Implement howToColor to display the message Color all four sides. 
Draw a UML diagram that involves Colorable, Square, and GeometricObject. Write a test program that creates an array of five GeometricObjects. For each object in the array, invoke its howToColor method if it is colorable.
. (You donot need to create the UML diagram.)


 

Please create a question for it and i would post solution for all 4 so you would have all
Ask Your Own Homework Question
Customer reply replied 4 years ago

for ATLProg


 


. Q1**(Use BigInteger for the Rational class) Redesign and implement the Rational class in Listing 15.11 using BigInteger for the numerator and denominator.



  1. . In addition to the instructions provided, modify the program to use an array to hold the numerator and denominator where index = 0 represents the numerator and index=1 represents the denominator.

  2. . this is the Listing 15.11 below :


 


 


 


 


this is the Rational class in Listing 15.11. it might help you.



  1. . java Exercise15_06 1 2012

  2. . This displays the calendar shown in Figure 15.11.

  3. .

  4. .

  5. .

  6. .

  7. . The program displays a calendar for January 2012.

  8. . You also can run the program without the year. In this case, the year is the cur- rent year. If you run the program without specifying a month and a year, the month is the current month.


 


. _____________________________________________________


Write code and test the solutions for the following problems from the textbook( three of them).


 


. Q2 (Enable GeometricObject comparable) Modify the GeometricObject class to implement the Comparable interface, and define a static max method in the GeometricObject class for finding the larger of two GeometricObject objects. Draw the UML diagram and implement the new GeometricObject class. Write a test program that uses the max method to find the larger of two circles and the larger of two rectangles.


. (You donot need to create the UML diagram.)


 


 



 



 


. Q3 (The Colorable interface) Design an interface named Colorable with a void method named howToColor(). Every class of a colorable object must implement the Colorable interface. Design a class named Square that extends GeometricObject and implements Colorable. Implement howToColor to display the message Color all four sides. 
Draw a UML diagram that involves Colorable, Square, and GeometricObject. Write a test program that creates an array of five GeometricObjects. For each object in the array, invoke its howToColor method if it is colorable.


. (You donot need to create the UML diagram.)



 



 


 


.


. Q4 (The Octagon class) Write a class named Octagon that extends GeometricObject and implements the Comparable and Cloneable inter- faces. Assume that all eight sides of the octagon are of equal size. The area can be computed using the following formula:


. 
area = (2 + 4/22)*side*side 



. Draw the UML diagram that involves Octagon, GeometricObject, Comparable, and Cloneable. Write a test program that creates an Octagon object with side value 5 and displays its area and perimeter. Create a new object using the clone method and compare the two objects using the compareTo method.


. (You donot need to create the UML diagram.)

I get that..Please go to http://www.justanswer.com/computer/expert-atlprog/
and post a question for Program 3
Ask Your Own Homework Question
Was this answer helpful?
Ask ATLProg Your Own Question
ATLProg
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
9,151 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

ATLProg is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
I have got an audio assignment in Spanish which I had to
I have got an audio assignment in Spanish which I had to translate and submit.. so can you help me with that? … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Chapter: 10-11 Assignment: Do some research and write a 2-3
Chapter: 10-11Assignment: Do some research and write a 2-3 page paper on the use of Java in the browser. Pay particular attention to the future of the Java "plug-in" for browsers. Please include a dis… read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
I need help with my stats hw. Customer Amount of Tip ($)
Customer Amount of Tip ($) Amount of Bill ($) Number of Diners (Y) (X1) (X2) 1 $7.00 $48.97 5 2 $4.50 $28.23 4 3 $1.00 $10.65 1 4 $2.40 $19.82 3 5 $5.00 $28.62 3 6 $4.25 $24.83 2 7 $0.50 $6.24 1 8 $6.00 $49.20 4 9 $5.00 $43.26 3 10 $4.75 $31.36 4 11 $5.25 $32.87 4 12 $6.00 $34.99 3 13 $4.00 $33.91 4 14 $3.35 $23.06 2 15 $0.75 $4.65 1 16 $3.30 $23.59 2 17 $3.50 $22.30 2 18 $3.25 $32.00 2 19 $5.40 $50.02 4 20 $2.25 $17.60 3 21 $5.50 $44.47 4 22 $3.00 $20.27 2 23 $1.25 $19.53 2 24 $3.25 $27.03 3 25 $3.00 $21.28 2 26 $6.25 $43.38 4 27 $5.60 $28.12 4 28 $2.50 $26.25 2 29 $9.25 $56.81 5 30 $8.25 $50.65 5 … read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
The bank will be minute based. Each customer will be added
The bank will be minute based. Each customer will be added to the queue at a random interval from 1 to 4 minutes. Run the simulation for 480 minutes. Use the following Algorithm: . 1) Choose a random … read more
Raj
Raj
SAP ABAP Consultant
Master\u0027s Degree
27 satisfied customers
Seem to be stuck in Adapted Mind at Level 28 of 4th grade
Seem to be stuck in Adapted Mind at Level 28 of 4th grade math. Can you help with that? … read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
Can you please help me with the following Countries with a
can you please help me with the following Countries with a socialist background have been moving toward the decentralization of healthcare delivery thereby allowing more of a private sector. … read more
lani_s
lani_s
Bachelor\u0027s Degree
47 satisfied customers
C++ can also gve me the algoritm Part I: Create three
c++ can also gve me the algoritmPart I:Create three arrays: (Be sure to do this first) You can put the data into a file (extra credit) or hard code it in main. The data is as follows:NAMES GRADES AGES… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Drawings that depict existing conditions are often marked
Drawings that depict existing conditions are often marked with A. blue lines indicating future expansion plans. B. the term "graphic FACP required." C. the term "as-built." D. a symbols legend.… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Exam Results Technology Orientation, Part 1 Exam Number
Exam ResultsTechnology Orientation, Part 1 Exam Number 062005RR Grade 65 Date Graded 04/15/18 Question Number Your Answer Answer Reference 1. C Correct 2. C D PAGE 42 3. D C PAGE 66 4. C A PAGE 10 5. … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
I very new to programming. I am working on a uni assignment.
I very new to programming. I am working on a uni assignment. And I stuck on one part of my code. I have been trying to fix it for 4 hours, and I cant figure it out … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
Glenn, Attached you can see the new assignment. Due in three
Hi Glenn, Attached you can see the new assignment. Due in three days. Let me know if it is clear… read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
I have a javascript assignment that I am having
good evening I have a javascript assignment that I am having complications understanding what she is requesting for us to do … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Trying to come up with 3 sociological concepts in the movie
trying to come up with 3 sociological concepts in the movie This is 40 and example of each from movie … read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
Looking for Microeconimics help. K. Mo
Looking for Microeconimics help JA: The Tutor can help you get an A on your homework or ace your next test. Tell us more about what you need help with so we can help you best. Customer: k JA: Is there… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
1. Why does Pumblechook choke on the brandy at Christmas
1. Why does Pumblechook choke on the brandy at Christmas dinner? A. He becomes overexcited telling his story. B. Mrs. Joe had only spoiled brandy to serve him. C. He has had too much to drink. D. Pip … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Case Study 1: Keylogger Scam Read the article titled:
Case Study 1: Keylogger ScamRead the article titled: “Police Foil $420 Million Keylogger Scam” found on the eWeek.com Website located at http://www.eweek.com/c/a/Security/Police-Foil-420-Million-Keylo… read more
GLENN
GLENN
Master of Mathematics
390 satisfied customers
This question is about MRI's and their usefulness. If a
Hi. This question is about MRI's and their usefulness. If a neuroanatomist gets the anatomy wrong about a specific white matter tract of the brain, let's use the superior occipitofrontal fasciculus as… read more
Dr. Mark
Dr. Mark
M.D. in Neurosurgery
Doctoral Degree
5,370 satisfied customers
I need it in c++ It is in the link
https://fgamedia.org/faculty/anand/cs2c/labs/2C.Lab-02-Spec-SparseMats.pdfhttps://fgamedia.org/faculty/anand/cs2c/modules/cs_2C_2b_7.html I need it in c++ … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x