Comment on Tutorial - equals( ) Versus == in Java By Mashoud



Comment Added by : Santosh

Comment Added at : 2010-09-19 08:17:52

Comment on Tutorial : equals( ) Versus == in Java By Mashoud
Hai Guys..
It’s nice to see your discussion on equals() and == operation
Yes, some older version of JVM having different behavior but in case of string the == will return true (without explicit new key word.) since it immutable nature. That’s how it’s working in string pool.
This may useful.

Thanks
Santosh.
You are always welcome.


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. very good
View Tutorial          By: Deepika at 2012-03-26 07:00:29

2. @veera reddy,
the use of creating actionerr

View Tutorial          By: San at 2011-08-28 23:14:39

3. To the,
sir/mam, i want to do java certific

View Tutorial          By: CERTIFICATION OF JAVA at 2011-03-03 02:27:05

4. thanks i understood
View Tutorial          By: raksha at 2012-11-04 16:44:19

5. the default construrctor does not give the defalut
View Tutorial          By: muhammad abdullah at 2011-04-11 13:16:20

6. Hi,first of all thats for this code developer, its
View Tutorial          By: Kathir at 2008-02-08 06:16:51

7. Can any one tell me whether to add any external ja
View Tutorial          By: Abhi at 2010-02-23 05:25:29

8. its good
View Tutorial          By: sumanth at 2010-04-10 20:10:00

9. It's very clear explanation. thank you
View Tutorial          By: miroot at 2012-12-27 17:46:14

10. Good and Effective example
thank you

View Tutorial          By: Perumal Naren at 2009-12-30 03:10:50