//Not userd - Constructor to copy object. public Mammal(Mammal other) { this.Name = other.Name; this.Age = other.Age; this.Category = other.Category; this.Gender = other.Gender; this.TeethCount = other.TeethCount; Category = CategoryType.Mammal; }
//Not used - Constructor copier that takes another mammal and copy properties to dog object public Cat(Mammal other) { this.Name = other.Name; this.Age = other.Age; this.Category = other.Category; this.Gender = other.Gender; this.TeethCount = other.TeethCount; this.breed = Breed; this.Id = other.Id; }