William Golding uses many types of figurative language throughout his novel, Lord of the Flies. On page 18, we find examples of both personification and simile in "When these breezes reached the platform, the palm fronds would whisper, so that spots of blurred sunlight slid over their bodies or moved like bright, winged things in the shade." Personification gives human characteristics to non-human things, so in this sentence we have palm fronds "whispering." A simile is a comparison using "like" or "as," so the "spots of blurred sunlight...moved like bright winged things..." compares the movement of light to "winged things in the shade." Later, we find a metaphor in a sentence on pages 35 and 36: "This time Ralph expressed the intensity of his emotion by pretending to knock Simon down; and soon they were a happy, heaving pile in the under-dusk." This is direct comparison of the boys and a "heaving pile."
As you read the book, you will find many more examples!