Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions Zoo/src/model/Bison.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

/**
*Brody Boell - bjboell1
*CIS171 22149
*Aug 30, 2023
*/
package model;

public class Bison {

private String species;
private int weight;
private int age;

public Bison() {
super();
}
public Bison(String species, int weight, int age) {
super();
this.species = species;
this.weight = weight;
this.age = age;
}

public String getSpecies() {
return species;
}

public void setSpecies(String species) {
this.species = species;
}

public int getWeight() {
return weight;
}

public void setWeight(int weight) {
this.weight = weight;
}

public int getAge() {
return age;
}

public void setAge(int age) {
this.age = age;
}
public String makeNoise() {
return "bellowing";
}
}