Esempio n. 1
0
 public String toString() {
   if (category == 1) relation = "Family Member";
   else if (category == 2) relation = "Friend";
   else relation = "Business Associate";
   return (name.uppercase()
       + " - "
       + location.toString()
       + "\nPhone Number:  "
       + phoneNum
       + "     BirthDay:  "
       + bDay.toString()
       + "\n"
       + relation
       + "\n");
 }