You have been provided with a specification document detailing its software needs. Other members of the Global Rain development team have started creating the RescueAnimal.java, Dog.java, and Driver.java class files. Your team lead has asked you to modify the existing classes and create a Monkey.java class as your contribution to the team.
Three individuals gathered around a computer
To gain a clear understanding of the client’s software requirements, review the Grazioso Salvare specification document in the Supporting Materials section. As you read, pay close attention to the attributes and methods that you will need to implement into the program.
Open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your IDE. Follow the IDE tutorial in the Supporting Materials section to upload Grazioso.zip into your IDE. This zipped folder contains three class files. Once you upload the files, compile the code. Although the program is not complete, it will compile without error.
Read through the code for each class. This will help you understand what code has been created and what code must be modified or created to meet the software requirements.
Before you begin modifying and creating classes, your team lead reminds you to demonstrate industry standard best practices in all your code to ensure clarity, consistency, and efficiency among all software developers working on the program. This includes ensuring the following:
In-line comments denote your changes and briefly describe the functionality of each method or element of the class Appropriate variable and method naming conventions are used throughout your code
Once you have completed your pre-work, you are ready to begin your assigned tasks. To start, modify the RescueAnimal.java class file by adding accessor and mutator methods for each class variable.
Create the Monkey class, using the specification document as a guide. The Monkey class must do the following: Inherit from the RescueAnimal class
Implement all attributes with appropriate data structures
Include accessors and mutators for all implemented attributes
Select a method from the Software Requirements section of Grazioso Salvare’s specification document. Using the selected method, modify the Driver.java class file to do the following: Implement the method you have chosen
Add attributes, as needed, to support the required functionality
What to Submit
To complete this project, you must submit the following:
RescueAnimal.java Class File
Modify the RescueAnimal.java class file in accordance with the requirements of the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.
Monkey.java Class File
Create a Monkey.java class file that meets the requirements laid out in the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.
Driver.java Class File
Modify the Driver.java class file in accordance with the requirements of the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.
Dog.java Class File
Submit the Dog.java class file, even though you were not required to make changes to it for this project.
The following resource(s) may help support your work on the project: