BuildASign.com interview question

What is the difference between pessimistic and optimistic concurrency?