title: What is a 'SAM type' in Java?
body: <p>Reading up on the Java-8 spec, I keep seeing references to 'SAM types'. I haven't been able to find a clear explanation of what this is.</p>
  
  <p>What is a SAM type and what is an example scenario of when one might be used?</p>