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. I think 19 floor's code doesn't fix the problem.Al
View Tutorial          By: Benson at 2012-11-28 08:04:26

2. hello,
i have completed my bsc(computer sci

View Tutorial          By: Geeta at 2012-07-25 13:35:07

3. the discussion is not enogh
View Tutorial          By: gulstan at 2011-03-27 03:47:24

4. can u tell me mobile tracker code in j2me
w

View Tutorial          By: aiyaz at 2010-08-21 16:29:08

5. Hi
I tried to use this class , I don't get

View Tutorial          By: Asela at 2012-01-26 19:05:14

6. Thank you so much for this. This helped me through
View Tutorial          By: GeeAsphyxiated at 2009-08-31 08:03:07

7. if (fget(y,100,fp2)!=10);
what should be th

View Tutorial          By: ruqsar at 2014-02-10 10:54:32

8. hi,
i need to connect to server named xxx,i

View Tutorial          By: annamalai at 2012-05-21 10:09:52

9. Hi..thx for the hadoop info..i m learning hadoop..
View Tutorial          By: Kirti at 2015-10-26 11:42:02

10. Hello,

I got an error like (Wed Ma

View Tutorial          By: narayanan at 2010-03-17 05:56:21