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 5 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 5 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 5 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?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a tutorLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
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,867 satisfied customers

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

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,556 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,698 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,190 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 need help with another program.... This one too is a Java
I need help with another program.... This one too is a Java Program.... 11.1 (The Triangle class) Design a class named Triangle that extend GeometricObject. The class contains: Three double data field… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
This is a JAVA PROGRAM..... In programming exercise 9.7 the
This is a JAVA PROGRAM..... In programming exercise 9.7 the Account class was defined to model a bank account. An account has the properties account number, balance, annual interest rate, and date cre… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
Implement the following class hierarchy inside of a module
Implement the following class hierarchy inside of a module file called polygon.py. Polygon Triangle Quadrilateral Pentagon Hexagon Octagon Isosceles Tri Equilateral Tri Rectangle Square Each class sho… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
Design and implement in Java a class Car and a class CarTest.
Design and implement in Java a class Car and a class CarTest. class Car consider the following elemensts: (i) the instance variables make (of type String), model (of type String), price (of type doubl… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
For LogicPro Only: Modify your implemented classes to include
For LogicPro Only: Modify your implemented classes to include the overridden method, computeSales(), that computes the current sales in each of the following categories: • Supplies = office supplies s… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
Draw the UML diagram for the class and then implement the class.
Draw the UML diagram for the class and then implement the class. Write a program that creates two rectangles objects, one with width 4 and height 40 and the other with width 3.5 and height 35.9. Displ… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
for ATLProg I need a version for Java of this program.... Design
for ATLProg I need a version for Java of this program.... Design and implement a stringed musical instrument class using the following guidelines: Data fields for your instrument should include number… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
ATLPROG, Im interested in this particular program you have
ATLPROG, I'm interested in this particular program you have written previously: 1. Design and implement a stringed musical instrument class Resolved Question: 1. Design and implement a stringed musica… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
For Atlprog. NOTE: You must include commenting in all of
For Atlprog. NOTE: You must include commenting in all of these assignments at the top. Marks will be deducted for inadequate documentation. Part A: This question is to be submitted to the instructor i… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
(Enable Rectangle comparable) Rewrite the Rectangle class to
(Enable Rectangle comparable) Rewrite the Rectangle class to extend GeometricObject and implement the comparable interface.Override the equals method in the object class. Two rectangle objects are equ… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
The Text class must contain a constructor that is supplied
CMSC 405 - Computer Graphics Programming Project 1 The first project involves adding several classes to a skeleton project that you will be provided, which reads in a scene definition file that define… read more
Ingo U
Ingo U
Master\u0027s Degree
509 satisfied customers
Programming Exercise 7.1 The Rectangle class Design a class
Programming Exercise 7.1 The Rectangle class Design a class named Rectangle to represent a rectangle. The class contains: •Two double fields named width and height that specify the width and height of… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
You need to use Eclipse, not JGRASP in doing this assignment.
You need to use Eclipse, not JGRASP in doing this assignment. Design and implement a class named Triangle that extends GeometricObject. The class contains: Three double data fields named side1, side2,… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
. please include comments in every line so i can understand
. please include comments in every line so i can understand Q3 (The Colorable interface) Design an interface named Colorable with a void method named howToColor(). Every class of a colorable object mu… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,867 satisfied customers
hi therei have four questions about java its all about
ATLPROG' if u there hi there' i have four questions about java its all about programming..they are below so plz follow all the instructors and i need comments in every line to understand it . Q1**(Use… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
I have a java programming assignment that requires multiple
I have a java programming assignment that requires multiple programs to be written One is a coin toss program and the other is a theater seating array. I can upload the assignment document to better g… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
I wrote a program that has all the elements that I think I
I wrote a program that has all the elements that I think I need but it compiles with errors. I need it reviewed and fix. Also that it fully full fills the requirements listed below. The problem is fro… read more
ATLProg
ATLProg
Software Engineer
Master's Degree
9,151 satisfied customers
Java program file name to be: Exercise8_9.java No GUI needed,
Java program file name to be: Exercise8_9.java No GUI needed, all is from console. Geometry: n-sided regular polygon. In a n-sided regular polygon all sides have the same lengh and all angles have the… read more
jatechexpert
jatechexpert
Master's Degree
82 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