public class PhoneEntry
{
   String name, phoneno;
   char type;
   
   public PhoneEntry(String name, String phoneno, char type)
   {
      this.name = name;
      this.phoneno  = phoneno;
      this.type = type;
   }

   public String toString()
   {
      return  name + ":" + phoneno + ":" + type;
   }

}  // end of class