Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Worker w1 = new Worker();
w1.startThread("parent-thread");
Worker w2 = new SubWorker();
w2.startThread("child-thread");

Related Guidelines

SCG 2013

Guideline 6-5: Do not trust identity equality when overridable on input reference objects

Bibliography

 

...

Image Modified