previous | start | next

Answers

  1. It certainly should–unless, of course, x is null.
  2. If toString returns a string that describes all instance fields, you can simply call toString on the implicit and explicit parameters, and compare the results. However, comparing the fields is more efficient than converting them into strings.


previous | start | next