Question: who played barney on the andy griffith show
Answer: Jesse Donald Knotts ( July 21 , 1924 -- February 24 , 2006 ) was an American actor and comedian , best known as Deputy Sheriff Barney Fife on The Andy Griffith Show , a 1960s sitcom for which he earned five Emmy Awards .