public abstract class Loan
{
   protected String type;
   protected double cost;
   
   public Loan(String hc)
      {
	 type=hc;
      }
	
   public String getType()
   {
	return type;
   }

   public double getCost()
   {
	return cost;
   }

   public abstract void setCost();
   
}
