Barney and Andy were members of Mayberry Union High Class of 1948Barney was hired by the Mayberry Sherrif Dept on 16 May 1959 (S 5 E 2)The Barney and Andy characters were actually distant cousins (and each sharing Aunt Bea stories), although this was only rarely alluded to (production narration in Season 5).