Saturday, August 21, 2010

Interview Questions

  1. Using == and equals()When you really need to know if two references are identical, use ==. But when you need to know if the objects themselves (not the references) are equal, use the equals().

No comments:

Post a Comment