Knights always tell the truth,liars always lie,and knaves alternate between truths and lies.
Two people named Jimmy and Johnny make the following claims.
Jimmy:I am a knave.
Johnny:Jimmy is not a knight.
Jimmy:Johnny is a knave.
Johnny:Jimmy is a knave.
What are each?
Jimmy is a knave
Jophnny is a kinght
Logic:
1) Jimmy truthed.--> Said, I am a knave.--> means he is a knave.
3) Jimmy lied.--> Johnny is a knave.--> means that Johnny isn't a knave.
2) Johnny truthed.--> Jimmy is not a knight.- Correct.
4) Jimmy is not a knave--> correct.