Programming Tutorials

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