title: What does it mean by this "In Scala == and != methods check for value equaliy as opposed to Java where they check reference equality"
body: <p>I am learning scala and going over the fundamentals.</p>
  
  <p>I couldn't understand what it means by "In Scala == and != methods check for value equaliy as opposed to Java where they check reference equality".</p>
  
  <p>can someone give some example and try to explain in plain english?</p>