What type of figurative language is used in the following sentence? Mr. Roy picked up the flyswatter and 'splat' went the fly.
Group of answer choices

A. Alliteration

B. Onomatopoeia

C. Simile

D. Personification