Q Search the web.. New Tab Type here to search O Converter Graded Work - CSIT210 - Introd x A https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte. * Sign in Attached Files: D UML Template.docx (22.428 KB) Read: Chapter 5 Instructions: Submit your completed UML class diagram and Java file. Part I: Create a UML diagram for this assignment Partll: Create a program that implements a class called Dog that contains instance data that represent the dog's name and age. • define the Dog constructor to accept and initialize instance data. • create a method to compute and return the age of the dog in "person-years" (note: dog age in person-years is seven times a dog's age). Include a toString method that returns a one-line description of the dog • Create a driver class called Kennel, whose main method instantiated and updates several Dog objects. Submit a screenshot of your output, completed UML, and the java file for a grade.
Q Search the web.. New Tab Type here to search O Converter Graded Work - CSIT210 - Introd x A https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte. * Sign in Attached Files: D UML Template.docx (22.428 KB) Read: Chapter 5 Instructions: Submit your completed UML class diagram and Java file. Part I: Create a UML diagram for this assignment Partll: Create a program that implements a class called Dog that contains instance data that represent the dog's name and age. • define the Dog constructor to accept and initialize instance data. • create a method to compute and return the age of the dog in "person-years" (note: dog age in person-years is seven times a dog's age). Include a toString method that returns a one-line description of the dog • Create a driver class called Kennel, whose main method instantiated and updates several Dog objects. Submit a screenshot of your output, completed UML, and the java file for a grade.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I would be happier if you could help me with this homework. The other screenshot is the document give at the beginning of the instruction.
thank you.
![**Graded Work – CSIT210**
URL: [https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte...](https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte...)
**Attached Files:**
- UML Template.docx (22.428 KB)
---
**Read:** Chapter 5
**Instructions:** Submit your completed UML class diagram and Java file.
**Part I:** Create a UML diagram for this assignment.
**Part II:** Create a program that implements a class called **Dog** that contains instance data representing the dog's name and age.
- Define the Dog constructor to accept and initialize instance data.
- Create a method to compute and return the age of the dog in "person-years" *(note: dog age in person-years is seven times a dog's age)*.
- Include a `toString` method that returns a one-line description of the dog.
- Create a driver class called **Kennel**, whose main method instantiates and updates several Dog objects.
**Submit a screenshot of your output, completed UML, and the .java file for a grade.**
---
**How to take a screenshot on Windows 10 with the PrtScn key:**
1. **Press PrtScn.** This copies the entire screen to the clipboard.
2. **Press Alt + PrtScn.** This copies the active window to the clipboard, which you can paste into another program.
3. **Press the Windows key + Shift + S.**
4. **Press the Windows key + PrtScn.**
**How to take a screenshot on Mac:**
- Press and hold these three keys together: Shift, Command, and 4.
- Drag the crosshair to select the area of the screen to capture.
- To move the selection, press and hold the Space bar while dragging.
- To cancel taking the screenshot, press the Esc (Escape) key.
---
**Additional Information:**
No graphs or diagrams are included in the image.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fff17d012-70ad-4782-80ac-5077bdfc24e1%2F5cf55863-3aaa-473e-874a-523b81b6cb7a%2Fld77hm4_processed.png&w=3840&q=75)
Transcribed Image Text:**Graded Work – CSIT210**
URL: [https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte...](https://ccbcmd-bb.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_373082_1&conte...)
**Attached Files:**
- UML Template.docx (22.428 KB)
---
**Read:** Chapter 5
**Instructions:** Submit your completed UML class diagram and Java file.
**Part I:** Create a UML diagram for this assignment.
**Part II:** Create a program that implements a class called **Dog** that contains instance data representing the dog's name and age.
- Define the Dog constructor to accept and initialize instance data.
- Create a method to compute and return the age of the dog in "person-years" *(note: dog age in person-years is seven times a dog's age)*.
- Include a `toString` method that returns a one-line description of the dog.
- Create a driver class called **Kennel**, whose main method instantiates and updates several Dog objects.
**Submit a screenshot of your output, completed UML, and the .java file for a grade.**
---
**How to take a screenshot on Windows 10 with the PrtScn key:**
1. **Press PrtScn.** This copies the entire screen to the clipboard.
2. **Press Alt + PrtScn.** This copies the active window to the clipboard, which you can paste into another program.
3. **Press the Windows key + Shift + S.**
4. **Press the Windows key + PrtScn.**
**How to take a screenshot on Mac:**
- Press and hold these three keys together: Shift, Command, and 4.
- Drag the crosshair to select the area of the screen to capture.
- To move the selection, press and hold the Space bar while dragging.
- To cancel taking the screenshot, press the Esc (Escape) key.
---
**Additional Information:**
No graphs or diagrams are included in the image.
![**Instructions**: Create a UML diagram for a Dog class. You can get some useful information from your book. Review Chapter 5, Fig. 179-180.
| **Dog** |
|-----------------------------|
| List the instance variables in the constructor. |
| List the methods in the class. |
The second row of the UML diagram lists the instance variables in the constructor. For example:
- `-name: String`
- `-` indicates private
- `name` is the variable name
- `String` is the data type of name
The third row of the diagram lists the methods in the class. For example:
- `+setName(): String`
- `+` indicates public
- `setName` is the method name
- `()` represents that no arguments are sent to the method
- `String` is the return data type](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fff17d012-70ad-4782-80ac-5077bdfc24e1%2F5cf55863-3aaa-473e-874a-523b81b6cb7a%2Fzdpa68_processed.png&w=3840&q=75)
Transcribed Image Text:**Instructions**: Create a UML diagram for a Dog class. You can get some useful information from your book. Review Chapter 5, Fig. 179-180.
| **Dog** |
|-----------------------------|
| List the instance variables in the constructor. |
| List the methods in the class. |
The second row of the UML diagram lists the instance variables in the constructor. For example:
- `-name: String`
- `-` indicates private
- `name` is the variable name
- `String` is the data type of name
The third row of the diagram lists the methods in the class. For example:
- `+setName(): String`
- `+` indicates public
- `setName` is the method name
- `()` represents that no arguments are sent to the method
- `String` is the return data type
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education