The detail "the row of shoeshine boys worked like bees in a hive" is an example of—
D) simile
This is because it uses "like" to make a comparison between the shoeshine boys and bees in a hive, indicating the diligent and organized nature of their work.