Candidate
Represents a candidate in an election results application.
A candidate object is immutable.
- Value parameters:
- name
the candidate’s name
- party
the name (or abbreviation) of the candidate’s party
- votes
the number of votes received by the candidate