public void PrintContestantInfo(Contestant contestant) { UserInterface.DisplayContestantInfo(contestant.FirstName, contestant.LastName, contestant.EmailAddress, contestant.RegistrationNumber); }
// constructor public Contestant() { this.firstName = UserInterface.SetContestantFirstName(); this.lastName = UserInterface.SetContestantLastName(); this.emailAddress = UserInterface.SetContestantEmail(); }