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



Comment Added by : Avinav

Comment Added at : 2011-10-04 13:52:23

Comment on Tutorial : equals( ) Versus == in Java By Mashoud
What does Strings s1,s2 variable contains, when i try s1==s2,
does it contains address of the object or hashcode or something else?


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 for this. I was checking and double checkin
View Tutorial          By: Alex at 2011-07-10 09:03:56

2. Even i got d same error. can u plz tell me where t
View Tutorial          By: Priya at 2011-03-14 12:16:54

3. Hi Divya, Obviously some other application is usin
View Tutorial          By: Ramlak at 2008-05-01 22:16:12

4. Hai.. i tried with d above code but am getting an
View Tutorial          By: muthupandi at 2010-08-17 09:49:23

5. Nice article .... Thank you...
View Tutorial          By: viswa at 2012-06-16 17:21:59

6. really helpul........
pls mail me some more

View Tutorial          By: senthil at 2013-08-19 17:53:02

7. #include<stdio.h>
void main(){

View Tutorial          By: niru at 2012-07-21 07:26:27

8. Very good article thanks for sharing.
View Tutorial          By: priti at 2012-08-29 11:32:07

9. Very cool one, thanks, got the concept clear
View Tutorial          By: black boot at 2010-04-18 08:20:20

10. Thanks it really works good
Continue

View Tutorial          By: vipul at 2009-07-14 02:21:18