Comment on Tutorial - The equals() Method example in Java By Baski



Comment Added by : eimmer

Comment Added at : 2017-03-11 19:40:27

Comment on Tutorial : The equals() Method example in Java By Baski
Readers of this article should know there are a lot of pitfalls in implementing equals, a few of which I think this article fails to address. The safest approach is to use Apaches EqualsBuilder. http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/builder/EqualsBuilder.html

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi Jon,

It really depends on the ap

View Tutorial          By: Hong at 2009-05-04 20:40:28

2. good one
View Tutorial          By: saurabh at 2012-01-17 04:43:29

3. .. nice one ..
.. aNg gLing nka2'amazing .

View Tutorial          By: ma'kHuLet at 2010-01-19 19:25:19

4. the article is very useful...!
View Tutorial          By: pravin salame at 2011-05-20 11:58:28

5. Great Work for JAVA Beginners
View Tutorial          By: Sudhir Rajgure at 2009-03-01 02:40:00

6. It works great,
my code looks like this:
View Tutorial          By: Anonymous at 2009-04-11 04:19:28

7. Thanks
Your solution helped me a lot :)

View Tutorial          By: sendhil at 2010-05-28 01:12:41

8. Sorry about this. I cannot run this program becaus
View Tutorial          By: TanSW at 2008-04-28 20:14:20

9. Looks good. This is going to be a good resource.
View Tutorial          By: Brainpower at 2013-03-02 02:45:11

10. i want to know more sample codes in object oriente
View Tutorial          By: glades at 2013-01-23 08:28:33