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



Comment Added by : Suren

Comment Added at : 2012-03-15 11:31:53

Comment on Tutorial : equals( ) Versus == in Java By Mashoud
s1.equals(s2) will yield true bcoz equals() compare the contents and s1==s2 will give give false as result bcoz == checks the references....

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. very very thankssssssssssssssss
View Tutorial          By: gowtham at 2010-07-31 22:58:36

2. hello how can i get a better java date code
View Tutorial          By: ramutomotest at 2011-12-08 17:44:49

3. Hi,
I want to write an Android Application,

View Tutorial          By: Kara at 2014-11-20 07:39:03

4. great work
View Tutorial          By: Dinesh557 at 2008-09-25 00:27:59

5. Thank you , It is really good for beginners.
View Tutorial          By: Satish Kumar at 2010-01-18 03:06:49

6. 3221225477 is C0000005 in hex notation, which is j
View Tutorial          By: Stan at 2009-06-29 12:14:25

7. exellent, thks!!!
View Tutorial          By: Eduardo at 2010-01-29 19:20:15

8. i tried your code but i got an error on this line<
View Tutorial          By: edward at 2011-12-09 11:32:30

9. Wow Its awesome.
Thank you for giving such

View Tutorial          By: sukumar maji at 2010-07-25 12:47:30

10. i am using the same code to read data from an RFID
View Tutorial          By: JayS at 2015-02-03 21:31:36