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



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 want my program to allow more than one trainee&a
View Tutorial          By: carl at 2011-01-30 22:21:21

2. we want to learn j2me
View Tutorial          By: vijay at 2010-09-27 02:34:59

3. i want excel file upload and stored into database
View Tutorial          By: excel file upload and genreat pdf in php at 2011-07-25 08:24:50

4. Great example - easy to understand!
View Tutorial          By: George at 2009-12-30 03:48:37

5. Thanks a ton sir.....
This is very informat

View Tutorial          By: Shailaja at 2009-12-27 10:43:42

6. how do i write the above same code using ajax and
View Tutorial          By: Karthik at 2011-08-29 11:21:45

7. i tried with d above code but am getting an error
View Tutorial          By: Aishwarya at 2009-04-05 04:41:17

8. Hi

Anybody plz send me the sms send

View Tutorial          By: Venky at 2008-11-19 08:33:22

9. This tutorial is really Good and enhance my desire
View Tutorial          By: Yasin at 2011-07-09 10:04:57

10. i don't know anything about computer..........
View Tutorial          By: Ami weds Pappu....... at 2013-02-14 04:00:11