No overall class is assigned to the degree issued by the University of Cambridge. Instead, each Part of a Tripos is self-contained and you obtain separate results for each one: there is no averaging out for a final degree.
In addition, your degree certificate will not state the subject(s) that you have studied. Instead your transcript will list the papers you took and the results obtained, where recorded.