What is the default behavior of Equals Method?
<p>Let A be a class with some members as x, y, z:</p>

<pre><code>Class A {
  int x;
  int y;
  String z;
  ...
}
</code></pre>

<p>A is an Object so it inherits the "Equals" functions defined in Object.
What is the default behavior of this function? Does it check for the equality of members or does it check for reference equality?</p>
