Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 17 pages
Other

IT 145 – Project Two Submission | 7.1 Activity | Full Solution | A+ Verified | 2026 Update

Document preview thumbnail
Preview 3 out of 17 pages

IT 145 – Project Two Submission | 7.1 Activity | Full Solution | A+ Verified | 2026 Update

Content preview

7-1: Project Two




Amanda Putzier

Southern New Hampshire University

IT 145: Foundation in Application Development

Doctor Angel Cross
June 21st, 2026

,RescueAnimal.java (Unchanged)

// RescueAnimal.java
// Base class for all rescue animals in the Grazioso Salvare system.
// This class encapsulates shared attributes and behaviors that apply
// to both dogs and monkeys, demonstrating the OOP principle of encapsulation.
// No modifications were required for this milestone.

import java.lang.String;

public class RescueAnimal {

// Instance variables shared by all rescue animals
// Protected access allows subclasses (Dog, Monkey) to access these directly
protected String name;
protected String animalType;
protected String gender;
protected String age;
protected String weight;
protected String acquisitionDate;
protected String acquisitionCountry;
protected String trainingStatus;
protected boolean reserved;
protected String inServiceCountry;

// Default constructor — initializes a RescueAnimal with no preset values
public RescueAnimal() {
}

// Accessor method for the animal's name
public String getName() {
return name;
}

// Mutator method for the animal's name
public void setName(String name) {
this.name = name;
}

// Accessor method for the animal type (e.g., "Dog" or "Monkey")
public String getAnimalType() {
return animalType;
}

// Mutator method for the animal type
public void setAnimalType(String animalType) {

, this.animalType = animalType;
}

// Accessor method for the animal's gender
public String getGender() {
return gender;
}

// Mutator method for the animal's gender
public void setGender(String gender) {
this.gender = gender;
}

// Accessor method for the animal's age
public String getAge() {
return age;
}

// Mutator method for the animal's age
public void setAge(String age) {
this.age = age;
}

// Accessor method for the animal's weight
public String getWeight() {
return weight;
}

// Mutator method for the animal's weight
public void setWeight(String weight) {
this.weight = weight;
}

// Accessor method for the date the animal was acquired
public String getAcquisitionDate() {
return acquisitionDate;
}

// Mutator method for the acquisition date
public void setAcquisitionDate(String acquisitionDate) {
this.acquisitionDate = acquisitionDate;
}

// Accessor method for the country where the animal was acquired
public String getAcquisitionLocation() {
return acquisitionCountry;

Document information

Uploaded on
July 30, 2026
Number of pages
17
Written in
2025/2026
Type
Other
Person
Unknown
$15.58

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExcellentGuides
3.0
(6)
Sold
28
Followers
0
Items
1208
Last sold
4 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions