One example of connotation in a poem is a metaphor such as "shall I compare thee to a summer's day" from Shakespeare's Sonnet 18. Connotation refers to the meaning implied by a word or words.
Connotation can be either positive or negative. Words with negative connotations make people have negative feelings. Some examples of words with negative connotations include: childish, selfish, immature, irresponsible and stubborn. Words with positive connotations conjure up positive emotions. Examples of words with positive connotations include: pleasant, friendly, amicable, lively and energetic. Some words, such as ambitious, can have either a positive or negative connotation depending on the context of the sentence.