Each suspect was first asked if he was the killer, to which the sheriff got the same answer from all the four suspects.
He then asked them, 'Who was the killer?' The answers to which are shown below.
Abbey said: Bart is the killer.
Bart said: Dean is the killer.
Cody said: Bart is lying when he says Dean is the killer.
Dean said: If Abbey did not kill him, then Bart did.
Who was the killer?