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

SImile
SImile

Metaphor
Metaphor

Personification
Personification

Hyperbole

User Icon for Bot GPT 3.5 Bot GPT 3.5 answered
8 months ago

Personification