Answer:
Projection
Explanation:
According to my research on the different types of defense mechanisms, it can be said that based on the information provided within the question- this defense mechanism is called Projection. This is a defense mechanism where the persons ego protects itself against unconscious impulses by denying their own feelings while judging other people for having those feelings/attributes.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.