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. my code is unable to open included files
ho

View Tutorial          By: MANAS at 2013-09-08 05:44:46

2. works for me - thanks !!!!!
View Tutorial          By: Vaneeza at 2011-12-19 17:06:09

3. i need help for my study, i need an algorithm for
View Tutorial          By: Vincent at 2011-08-17 13:37:52

4. THANKS you for having this site. it help me a lot
View Tutorial          By: fermilita at 2012-01-04 11:45:53

5. how do i use the jsapi classes and the freets pack
View Tutorial          By: Chileshe at 2012-08-22 14:23:38

6. this is the thread object and thread name
View Tutorial          By: narain at 2011-12-06 07:33:07

7. Sir please can you tell me that how can i find occ
View Tutorial          By: Saad at 2013-01-20 11:14:39

8. this total example is copy paste from the Herbert
View Tutorial          By: Parna at 2012-06-03 05:16:37

9. very very nice...
thanks

View Tutorial          By: ramu at 2010-11-23 23:38:18

10. Comment: Just for future readers: (apart from the
View Tutorial          By: Anonymous at 2013-05-17 08:53:20