In the spirit of
- Common programming mistakes for .NET developers to avoid?
- Common programming mistakes for PHP developers to avoid?
- Common programming mistakes for JavaScript developers to avoid?
- Common programming mistakes for Scala developers to avoid
what are common mistakes we should avoid for Java?
Example: use the ==
operator for comparing two strings come from external sources rather than .equals
method.