/* * Cat.java - Part of class hierarchy for representing residents of a pet kennel * CS112 Lab 13 * * Copyright (c) 2000 - Russell C. Bjork * */import java.util.Date;/** This class represents cats */public class Cat extends MediumAnimal{	public Cat(String name, String owner, Date arrivalDate, Date departureDate,			   float weight, boolean needsRabiesShot)	{	    super(name, owner, arrivalDate, departureDate, weight, needsRabiesShot);	}	  	public String getDescription()	{		if (weight > 15)			return "fat cat";		else			return "cat";	}	  	public int getDailyRate()	{	  	if (weight <= 15)	  		return 5;	  	else	  		return 7;	}}