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. thanks a lot that helped.. =D
View Tutorial          By: Karthik at 2008-11-16 02:27:53

2. really really very good
thanks all
a

View Tutorial          By: bade3 at 2010-01-01 18:52:15

3. Would u please provide me with a solution about ho
View Tutorial          By: milan at 2011-02-17 05:39:38

4. this is the output i get.
Help me.
<

View Tutorial          By: shubham saxena at 2014-04-01 17:06:00

5. Hello, I have executed the above code and it works
View Tutorial          By: Sana at 2010-02-01 03:50:18

6. it's very good to understand...and it is helpful f
View Tutorial          By: Rakesh at 2009-12-26 00:14:59

7. char *s;
s=(char *) melloc(sizeof(char)*3);

View Tutorial          By: URS at 2011-08-24 12:32:55

8. Good Example esp. way it was presented.
View Tutorial          By: Arunlal at 2013-06-20 11:56:43

9. i found this very pleasing for both my brain and m
View Tutorial          By: Matthew Redisons at 2012-10-03 14:36:32

10. can u please explain java scripts for menus.
View Tutorial          By: web designers in kerala at 2011-04-16 02:08:22