Bill Cosby has not said much about the sexual assault accusations that have dogged him for years, but when he was convicted on Thursday of drugging and assaulting Andrea Constand he decided to say a few words in the Norristown, Pa., courtroom. Including a crass one aimed at the prosecutor.

The 80-year-old actor, a fixture in American family entertainment for decades, erupted in response to a suggestion by the Montgomery County district attorney, Kevin R. Steele, that his bail should be revoked because he was a potential flight risk and owned a plane.

“He doesn’t have a plane, you asshole!” Mr. Cosby shouted. It was all the more startling coming from a man once beloved as the mild Dr. Cliff Huxtable on his hit NBC sitcom, the Jell-O pudding pitchman and the whimsical creator and voice of the character Fat Albert.

[Critic’s Notebook: Cliff Huxtable was Bill Cosby’s sickest joke.]

Judge Steven T. O’Neill told Mr. Cosby to pipe down — “Enough of that!”