What literary device is used in the phrase "lockers slammed shut like a rhythmic beat"?

A. Simile

B. Metaphor

C. Personification

D. Hyperbole

1 answer

C. Personification