i need an example of attitude in literature

Look at any of Mark Twain's short stories... you will get an example of "attitude".

Read this site for a good explanation of attitude

http://www.brocku.ca/english/jlye/criticalreading.php